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