Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
binding.C
blob: cc6f25c6ed96e7f0d44f672168d37af786cb17fe [
file
] [
log
] [
blame
]
// Bug: g++ only looks in the current temporary binding level for a name.
struct
T
{
~
T
();
};
int
main
()
{
foo
:
T t
;
// ERROR - redeclared
bar
:
T t
;
// ERROR - redeclaration
}