2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git] / gcc / testsuite / g++.dg / template / nontype16.C
blob36d1e9564a0948a33bbf485132cfe3baa199af74
1 //PR c++/27962
3 template<int> struct A
5     template<typename> void foo();
6 };
8 template<> template<struct T> void A<0>::foo() {} // { dg-error "not a valid type" }
9