blob: 5c1611ac66df538c74861413303d06da598f0b0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* 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 } */
;
}
|