X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fbad-error4.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fbad-error4.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=09461c8db7cb3928d0304520982b2305ddc1c0da;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 09461c8d..00000000 --- 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 - -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; -}