//PR c++/28637

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



syntax highlighted by Code2HTML, v. 0.9.1