gcc/testsuite/g++.dg/compat/eh/ctor1_main.C
raw| 1 | // Copyright (C) 2001 Free Software Foundation, Inc. |
| 2 | // Contributed by Nathan Sidwell 26 Dec 2001 <nathan@[email protected]> |
| 3 | // PR 411 |
| 4 | |
| 5 | // Split into pieces for binary compatibility testing October 2002 |
| 6 | |
| 7 | // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'. |
| 8 | |
| 9 | extern void ctor1_x (void); |
| 10 | |
| 11 | int |
| 12 | main () |
| 13 | { |
| 14 | ctor1_x (); |
| 15 | } |