blob: d012c4358edb0dafd3b87cd3bed1413184c4fb50 [file] [log] [blame]
// { dg-do assemble }
template <class T>
struct S
{
static const T t = 3; // { dg-error "" } initializing non-integral type
};
double d = S<double>::t; // { dg-error "" }