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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
binding.C
blob
1f297b76d6c1872e57bca636233ec1200c569793
1
// { dg-do assemble }
2
// Bug: g++ only looks in the current temporary binding level for a name.
3
4
struct T { ~T(); };
5
6
int main()
7
{
8
foo:
9
T t; // { dg-error "" } redeclared
10
bar:
11
T t; // { dg-error "" } redeclaration
12
}