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
MIPS32R6 and MIPS64R6 support
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping8.C
blob
bb31735f228d14f149e6e83d726df9df09ec55f4
1
// { dg-do assemble }
2
// Bug: g++ allows two different meanings of a name in the same scope.
3
4
typedef int foo; // { dg-error "" }
5
struct A {
6
A (foo);
7
int foo (); // { dg-error "" } foo already used in scope
8
};