]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.law/operators28.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / operators28.C
diff --git a/gcc/testsuite/g++.old-deja/g++.law/operators28.C b/gcc/testsuite/g++.old-deja/g++.law/operators28.C
deleted file mode 100644 (file)
index 3600fb2..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Build don't link: 
-// GROUPS passed operators
-#include <sys/types.h>
-#include <stdio.h>
-
-class new_test
-{
-  int type;
-public:
-  void* operator new(size_t sz, int count, int type);
-};
-
-void* new_test::operator new(size_t sz, int count, int type)
-{
-  void *p;
-
-  printf("%d %d %d\n", sz, count, type);
-
-  p = new char[sz * count];
-  ((new_test *)p)->type = type;
-  return p;
-};
-
-int main()
-{
-  new_test *test;
-  int count = 13;
-
-  test = new(count, 1) new_test;
-};