X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Fcrash29.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Fcrash29.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=b6af6a4d9113c816363396f86496d64648795f56;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C deleted file mode 100644 index b6af6a4d..00000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C +++ /dev/null @@ -1,19 +0,0 @@ -// Build don't link: -// GROUPS passed old-abort - -union Value -{ - Value(){} -}; - -struct GlobalAddress -{// ERROR - candidates .* - GlobalAddress(Value *nvar){}// ERROR - .* -}; - -int -main() -{ - new GlobalAddress(Value()); // internal error occured here// ERROR - no matching function .* - //new GlobalAddress(new Value()); // This line is correct code -}