1 2 3 4 5 6 7 8
// PR c++/17524 template<typename T> struct A { static const T i = 0; // { dg-error "" } }; A<void> a; // { dg-error "" }