2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / binding.C
blob1f297b76d6c1872e57bca636233ec1200c569793
1 // { dg-do assemble  }
2 // Bug: g++ only looks in the current temporary binding level for a name.
4 struct T { ~T(); };
6 int main()
8   foo:
9    T t;                         // { dg-error "" } redeclared
10   bar:
11    T t;                         // { dg-error "" } redeclaration