(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
nsdmi-union4.C
// PR c++/59269
// { dg-require-effective-target c++11 }

union U
{
  int& i = 0;  // { dg-error "reference" }
};

void foo()
{
  U();
}