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
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
binding.C
blob
3321cece23a47e12743823eb3a4e8de76c065595
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-message "" } redeclared
10
bar:
11
T t; // { dg-error "" } redeclaration
12
}