1 //PR c++/28741 2 3 template<void> struct A // { dg-error "not a valid type" } 4 { 5 static int i; 6 }; 7 8 A<0> a; 9