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