Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr8927-1.c
blob5c1611ac66df538c74861413303d06da598f0b0d
1 /* Bug 8927: undeclared identifiers should give an error on the line
2 of that identifier, not on the line of the next token. */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
6 void
7 foo(void)
9 bar /* { dg-error "undeclared" } */
10 /* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } .-1 } */