X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fbad-error3.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fbad-error3.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=c5ce1188d006b193bead4287e1338b30dc0817b8;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.law/bad-error3.C b/gcc/testsuite/g++.old-deja/g++.law/bad-error3.C deleted file mode 100644 index c5ce1188..00000000 --- a/gcc/testsuite/g++.old-deja/g++.law/bad-error3.C +++ /dev/null @@ -1,21 +0,0 @@ -// Build don't link: -// GROUPS passed bad-errors -// bad-error file -// Date: Sun, 31 Jul 1994 11:37:43 +1000 (EST) -// From: Rohan LENARD -// Subject: g++-2.6.0 gives wrong warning for placement syntax new -// Message-Id: <0iCk1b0000000z0VY0@iassf.easams.com.au> - - -#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; -}