aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/compat/init/array5_main.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/compat/init/array5_main.C')
-rw-r--r--gcc-4.9/gcc/testsuite/g++.dg/compat/init/array5_main.C14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/compat/init/array5_main.C b/gcc-4.9/gcc/testsuite/g++.dg/compat/init/array5_main.C
new file mode 100644
index 000000000..96b2cc4b1
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/g++.dg/compat/init/array5_main.C
@@ -0,0 +1,14 @@
+// Copyright (C) 2002 Free Software Foundation
+// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
+// Split into pieces for binary compatibility testing October 2002
+
+// Incorrect construction and destruction of multi-dimensional
+// array of class.
+
+extern void array5_x (void);
+
+int
+main ()
+{
+ array5_x ();
+}