blob: aed6208d5bec0a4cff1d4afa3f5fd23b99a24463 [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;