1//PR c++/28737 2 3template<void> struct A; // { dg-error "not a valid type" } 4 5template<typename> struct B; 6 7template<void N> struct B<A<N> > {}; // { dg-error "not a valid type|declared|invalid" } 8