Debian Codegraph @

gcc/testsuite/g++.dg/compat/eh/nrv1_main.C

raw
1 // PR c++/5636
2 // Bug: the named return value optimization interfered with EH cleanups.
3
4 // Split into pieces for binary compatibility testing October 2002
5
6 // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'.
7
8 extern void nrv1_x (void);
9
10 int
11 main ()
12 {
13 nrv1_x ();
14 }