blob: 85add6a4a9daaf38bc78b9d353aa4d0b92b544ad [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 *-*-* } 9 } */
;
}