gcc/testsuite/g++.dg/compat/init/array5_main.C
raw| 1 | // Copyright (C) 2002 Free Software Foundation |
| 2 | // Contributed by Kriang Lerdsuwanakij <[email protected]> |
| 3 | // Split into pieces for binary compatibility testing October 2002 |
| 4 | |
| 5 | // Incorrect construction and destruction of multi-dimensional |
| 6 | // array of class. |
| 7 | |
| 8 | // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'. |
| 9 | |
| 10 | extern void array5_x (void); |
| 11 | |
| 12 | int |
| 13 | main () |
| 14 | { |
| 15 | array5_x (); |
| 16 | } |