Sign in
gnu
/
gcc
/
609d1c1bf0472f9d9415b0b124603348dbcd9e4e
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
lineno.C
blob: 6878f75b61a96424e4a9bbb0cf897384849024b8 [
file
] [
log
] [
blame
]
// Bug; g++ binds a function definition to the line number of a later decl.
// Build don't link:
void
foo
()
{
}
// ERROR - redeclared
void
foo
();
// gets bogus error - invalid binding
void
foo
()
{
}
// ERROR - redeclared