blob: 5c1611ac66df538c74861413303d06da598f0b0d [file] [log] [blame]
/* Bug 8927: undeclared identifiers should give an error on the line
of that identifier, not on the line of the next token. */
/* { dg-do compile } */
/* { dg-options "" } */
void
foo(void)
{
bar /* { dg-error "undeclared" } */
/* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } .-1 } */
;
}