blob: 6878f75b61a96424e4a9bbb0cf897384849024b8 (
plain)
1
2
3
4
5
6
|
// 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
|