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
/
scoping8.C
blob
de023d1c3e182c35f1eeae52bf13ff950e82a409
1
// Bug: g++ allows two different meanings of a name in the same scope.
2
3
typedef int foo; // ERROR -
4
struct A {
5
A (foo);
6
int foo (); // ERROR - foo already used in scope
7
};