blob: 36d1e9564a0948a33bbf485132cfe3baa199af74 [file] [log] [blame]
//PR c++/27962
template<int> struct A
{
template<typename> void foo();
};
template<> template<struct T> void A<0>::foo() {} // { dg-error "not a valid type" }