aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr41842.c
blob: fa7edd11eccc0f0484d5fb8a3f9c0ae528c0f0bc (plain)
1
2
3
4
5
6
7
8
/* PR c/41842 */
/* { dg-do compile } */

void
f ()
{
  char x[g (h)];	/* { dg-error "undeclared|for each function" } */
}