//PR c++/28738

template<int,void> struct A {};    // { dg-error "not a valid type" }
template<int N> struct A<N,0> {};  // { dg-error "not a valid type" }


syntax highlighted by Code2HTML, v. 0.9.1