]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ext/arrnew2.C
Merge tree-ssa-20020619-branch into mainline.
[thirdparty/gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / arrnew2.C
index 84063834f1d6994675c14efd28c7c0e5a719cf85..93d15d08d9046cb80ac27ca0c5dec2ef1b3e10a6 100644 (file)
@@ -1,4 +1,8 @@
-// { dg-do assemble  }
-// { dg-options "" }
+// { dg-do run { xfail *-*-* } }
+// { dg-options "-w -fpermissive" }
 
-int *foo = new int[1](0); // { dg-bogus "" } 
+int *foo = new int[1](42); // { dg-bogus "" }
+int main ()
+{
+  return foo[0] != 42;
+}