1 //PR c++/28637 2 3 template<void> struct A {}; // { dg-error "not a valid type" } 4 A<0> a; // { dg-message "non-type" } 5 6