blob: f7aaa4b943e2f037c95269b4126e8f75a31035d8 [file] [log] [blame]
// PR c++/64899
// { dg-do compile { target c++11 } }
struct S
{
int i;
constexpr S (): i(42) {}
};
constexpr S sa[2];
#define SA(X) static_assert((X),#X)
SA(sa[1].i == 42);