Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/lineno.C

raw
1 // { dg-do assemble }
2 // Bug; g++ binds a function definition to the line number of a later decl.
3
4 void foo () { } // { dg-message "" } redeclared
5 void foo (); // { dg-bogus "" } invalid binding
6 void foo () { } // { dg-error "" } redeclared