(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1y/
constexpr-union3.C
// { dg-do compile { target c++14 } }

union U
{
  int x = (x = x + 1);
  char y;
};

constexpr U u = {}; // { dg-error "accessing uninitialized member" }