summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/eh/dtor1_main.C
blob: 962fa64274b45611d9da3d832826b8cf104d78d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/411

// Test that a fully-constructed base is destroyed before transferring
// control to the handler of a function-try-block.

// Split into pieces for binary compatibility testing October 2002

extern void dtor1_x (void);

int
main ()
{
  dtor1_x ();
}