Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
binding.C
blob: 3321cece23a47e12743823eb3a4e8de76c065595 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ only looks in the current temporary binding level for a name.
struct
T
{
~
T
();
};
int
main
()
{
foo
:
T t
;
// { dg-message "" } redeclared
bar
:
T t
;
// { dg-error "" } redeclaration
}