Fix warnings occured during profiledboostrap on
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / special.C
blob29565d548c886deec339f2f97b27892c173e8c3d
1 // { dg-do assemble  }
2 // Make sure that forward declarations of specializations work...
4 template <class T> class A { };
5 template <> class A<int>;
6 A<int> a;                       // { dg-error "" } incomplete type
7 template <> class A<int> { };