Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
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