Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/synth.C

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