1 2 3 4 5 6 7 8 9
// { dg-do assemble } template <class T> struct S { static const T t = 3; // { dg-error "" } initializing non-integral type }; double d = S<double>::t;