aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/pr41842.c
blob: 2f2b7697bc97dc1c9315154dc75006b1b1a8a737 (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 *-*-* } 7 } */
}