summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error5.C
blob: 0c793509da4031998adb3825a3d81451a65dfd78 (plain)
1
2
3
4
5
6
template <typename T>
struct X<T*> { // { dg-error "not a template" }
   typedef int Y;
};

extern struct Z<int> s; // { dg-error "not a template" }