error5.C   [plain text]


template <typename T>
struct X<T*> { // { dg-error "not a template" }
   typedef int Y;
};

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