2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr41842.c
blob1550ad1bfb7f24f87595872bf6dd865f9ec38e9e
1 /* PR c/41842 */
2 /* { dg-do compile } */
4 void
5 f ()
7 char x[g (h)]; /* { dg-error "undeclared" } */
8 /* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } .-1 } */