Sign in
llvm
/
llvm-archive
/
cfaec05de39adb34392b8c7b1ad4b32abbf3663d
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gcc.dg
/
pr8927-1.c
blob: 218e71706ac7df8800bedf11cf6f394d9c7d5dd2 [
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|for each function" } */
;
}