2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / compat / eh / ctor2_main.C
blob58836e26ebae7ba297c587889d88dfd35c009961
1 // PR c++/4460
2 // Test that the cleanup for fully-constructed subobjects when a
3 // constructor throws gets the right address for a virtual base.
5 // Split into pieces for binary compatibility testing October 2002
7 extern void ctor2_x (void);
9 int main ()
11   ctor2_x ();