aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/eh/nrv1_main.C
blob: 3b76b5c8824c9b01af909a37291fd0779e02f674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/5636
// Bug: the named return value optimization interfered with EH cleanups.

// Split into pieces for binary compatibility testing October 2002

extern void nrv1_x (void);

int
main ()
{
  nrv1_x ();
}