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