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

void
f ()
{
  char x[g (h)];	/* { dg-error "undeclared" } */
/* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } .-1 } */
}