Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
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
}