]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/new-array.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / new-array.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/new-array.C b/gcc/testsuite/g++.old-deja/g++.brendan/new-array.C
deleted file mode 100644 (file)
index 3080a58..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Build don't link: 
-// GROUPS passed operator-new
-typedef struct {
-       int a;
-} AStruct;
-
-void MakeBug() {
-       AStruct *job;
-
-       // This used to crash, it should now give error(s).
-       job = new AStruct[];// ERROR - .*
-
-       job = new AStruct;
-}
-
-int main () {
-       MakeBug();
-}