Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / compat / eh / ctor2_main.C
blobf79c8a2e756aca8bd4f0e3ba19d1330e2d7818a5
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 // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'.
9 extern void ctor2_x (void);
11 int main ()
13   ctor2_x ();