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