Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
lineno.C
blob: bd5a393e50e0d2c3cec211228fc8494c04eee1ce [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug; g++ binds a function definition to the line number of a later decl.
void
foo
()
{
}
// { dg-error "" } redeclared
void
foo
();
// { dg-bogus "" } invalid binding
void
foo
()
{
}
// { dg-error "" } redeclared