1// { dg-do assemble } 2// Bug: the synthesized copy constructor for A is not found. 3 4struct A { 5 // A (const A& a): i(a.i) {} 6 int i; 7}; 8 9struct B { 10 A a; 11 B (const B& b): a(b.a), j(b.j) { } // { dg-bogus "" } 12 int j; 13}; 14