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 "" } */
5
6 void
7 foo(void)
8 {
9 bar /* { dg-error "undeclared" } */
10 /* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } .-1 } */
11
12 ;
13 }