FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / binding.C
blobcc6f25c6ed96e7f0d44f672168d37af786cb17fe
1 // Bug: g++ only looks in the current temporary binding level for a name.
3 struct T { ~T(); };
5 int main()
7   foo:
8    T t;                         // ERROR - redeclared
9   bar:
10    T t;                         // ERROR - redeclaration