1 // PR c++/28639 2 3 template<void> struct A // { dg-error "not a valid type" } 4 { 5 static const int i = 1; 6 char a[i]; 7 }; 8