X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Ft42.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Ft42.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=55459949b7716a27173c243ac003d86a6120e730;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/t42.C b/gcc/testsuite/g++.old-deja/g++.pt/t42.C deleted file mode 100644 index 55459949..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/t42.C +++ /dev/null @@ -1,17 +0,0 @@ -extern "C" void abort (); - -struct A { - struct stat { - int x; - stat (int j) { abort (); } - }; - static int stat (double d) { return 0; } // gets bogus error - cfront takes it - static int zap () { - stat (0); - return stat (1); // gets bogus error - this should work - } -}; - -int main () { - return A::zap (); -}