2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / synth.C
bloba57f23ce989016d540385cf29d785c3082a07666
1 // { dg-do assemble  }
2 // Bug: the synthesized copy constructor for A is not found.
4 struct A {
5   // A (const A& a): i(a.i) {}
6   int i;
7 };
9 struct B {
10   A a;
11   B (const B& b): a(b.a), j(b.j) { } // { dg-bogus "" } 
12   int j;