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

union U
{
  int x = y;
  char y;
};

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