repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
lineno.C
blob
6878f75b61a96424e4a9bbb0cf897384849024b8
1
// Bug; g++ binds a function definition to the line number of a later decl.
2
// Build don't link:
3
4
void foo () { } // ERROR - redeclared
5
void foo (); // gets bogus error - invalid binding
6
void foo () { } // ERROR - redeclared