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
/
binding.C
blob
cc6f25c6ed96e7f0d44f672168d37af786cb17fe
1
// Bug: g++ only looks in the current temporary binding level for a name.
2
3
struct T { ~T(); };
4
5
int main()
6
{
7
foo:
8
T t; // ERROR - redeclared
9
bar:
10
T t; // ERROR - redeclaration
11
}