Daily bump.
[official-gcc.git] / gcc / testsuite / g++.dg / compat / eh / dtor1_main.C
blob1550d7403c64cdec8956c816d881f2d11920eeb1
1 // PR c++/411
3 // Test that a fully-constructed base is destroyed before transferring
4 // control to the handler of a function-try-block.
6 // Split into pieces for binary compatibility testing October 2002
8 // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'.
10 extern void dtor1_x (void);
12 int
13 main ()
15   dtor1_x ();