X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.mike%2Feh46.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.mike%2Feh46.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=dfce386d880ca0cf5e7d4aa249dfd0f039452af0;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.mike/eh46.C b/gcc/testsuite/g++.old-deja/g++.mike/eh46.C deleted file mode 100644 index dfce386d..00000000 --- a/gcc/testsuite/g++.old-deja/g++.mike/eh46.C +++ /dev/null @@ -1,47 +0,0 @@ -// Build don't link: -// Special g++ Options: -fexceptions -// excess errors test - XFAIL a29k-*-* arm-*-pe - -int atoi(const char *); - -struct ios { - virtual ~ios(); -}; - -class fstreambase : virtual public ios { -}; - -class ifstream : public fstreambase { -}; - -class ofstream : public fstreambase { -}; - -extern const short O; -extern const short D; - -const short O= 0; -const short D= -3; - - -short glc(const char* const * const l, - short& n,short& x,short& y, - ifstream* i,ofstream* o) - -{ - n=atoi(l[1]); - - x=atoi(l[2]); - y=atoi(l[3]); - - if((x < 0)||(y <0)) - { - return D; - } - - i = new ifstream[n]; - o = new ofstream[2]; - - return O; - -}