(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
nsdmi14.C
// PR c++/71638
// { dg-do compile { target c++11 } }
// { dg-options "-Wall" }

struct A {
  struct {
    int i;
    int &j = i;
  } b;
  int a = b.j;
};

void bar (A);

void
foo ()
{
  bar (A{});
}