1// PR c++/51402 2 3template<void> struct A // { dg-error "not a valid type" } 4{ 5 template<int,int> struct B {}; 6 template<int N> struct B<N,N> {}; 7}; 8