summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/special.C
blob: 29565d548c886deec339f2f97b27892c173e8c3d (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// Make sure that forward declarations of specializations work...

template <class T> class A { };
template <> class A<int>;
A<int> a;			// { dg-error "" } incomplete type
template <> class A<int> { };