FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / lineno.C
blob6878f75b61a96424e4a9bbb0cf897384849024b8
1 // Bug; g++ binds a function definition to the line number of a later decl.
2 // Build don't link:
4 void foo () { }                 // ERROR - redeclared
5 void foo ();                    // gets bogus error - invalid binding
6 void foo () { }                 // ERROR - redeclared