blob: aac6fa1c81bb1621a4d01837abb2f55529237fca [file] [log] [blame]
// 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{});
}