FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / synth8.C
blobf7e82a9e8a784950ca7f2872ebe15b0fc04294ec
1 // Bug: the synthesized constructor for A tries to use the mem-initializer
2 // list for the B constructor.
3 // Build don't link:
5 struct A
7   virtual ~A();
8 };
10 struct B
12   B();
13   char* x;
14   A* a;
17 B::B()
18 : x(0), a(new A())