blob: 6b77432f61a5287c3ecc9533450a623fdb126e14 [file] [log] [blame]
// PR c++/94470
// { dg-do compile { target c++14 } }
struct X
{
int b = (c=5);
int c = (b=1);
};
constexpr X o = { };
static_assert(o.b == 1 && o.c == 1, "");