Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / redecl2.C
blob4dd432e6fea2e19167c1250674181b1ad186d1aa
1 // { dg-do compile }
3 // Origin: heinlein@informatik.uni-ulm.de
5 // PR c++/14428: Redeclaration of class template with wrong
6 // non-type template parameter.
8 template <int i> struct X;      // { dg-error "template parameter" }
9 template <int* p> struct X;     // { dg-error "redeclared here" }