blob: 5218414b7dbdc7b1c88e9a2ed214877a904a04ac [file] [log] [blame]
template <typename T> struct A
{
static const int t[1][1]={{0}}; // { dg-error "20:'constexpr' needed" "" { target c++11 } }
// { dg-error "20:invalid in-class" "" { target c++98_only } .-1 }
// { dg-error "28:a brace-enclosed" "" { target c++98_only } .-2 }
};