aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/bad-error4.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/bad-error4.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/bad-error4.C14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/bad-error4.C b/gcc/testsuite/g++.old-deja/g++.law/bad-error4.C
deleted file mode 100644
index 09461c8db7c..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.law/bad-error4.C
+++ /dev/null
@@ -1,14 +0,0 @@
-// Build don't link:
-// GROUPS passed bad-errors
-#include <stddef.h>
-
-void * operator new(size_t, int *);
-void * operator new(size_t, void *);
-
-int *x = 0;
-int foo(){
-new (x) int *;
-new (&x) int *;
-new (x) int *; // This is identical to line 8 !!!
-return 1;
-}