OSDN Git Service

PR c++/52685
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / nontype16.C
1 //PR c++/27962
2
3 template<int> struct A
4 {
5     template<typename> void foo();
6 };
7
8 template<> template<struct T> void A<0>::foo() {} // { dg-error "not a valid type" }
9