Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / lookup / name-clash4.C
blobd4ff551339353ac125c398a31ca02367b94764eb
1 // { dg-do compile }
3 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
5 // PR c++/18100: Invalid nested type.
7 struct A
9     template<int> struct A {};  // { dg-error "same name" }
12 A::A<0> a;                      // { dg-error "not a template" }