]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/array3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / array3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/array3.C b/gcc/testsuite/g++.old-deja/g++.other/array3.C
deleted file mode 100644 (file)
index 5b45f00..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Build don't link:
-// 
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 10 Aug 2000 <nathan@codesourcery.com>
-
-// bug 386.C We ICE'd before emitting a diagnostic when trying to
-// initialize a constant non-pod array from something bogus.
-
-
-struct A
-{
-  A(char);
-};
-
-class B
-{
-  const A ary[16];
-
-  B (const A ary[]);
-};
-
-B::B (const A a[])
-  : ary(a)
-{        // ERROR - bad array initializer
-}