X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fexcept4.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fexcept4.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=c108c48bf74b2940d9f07b1ded6bee23d5edf667;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.law/except4.C b/gcc/testsuite/g++.old-deja/g++.law/except4.C deleted file mode 100644 index c108c48b..00000000 --- a/gcc/testsuite/g++.old-deja/g++.law/except4.C +++ /dev/null @@ -1,34 +0,0 @@ -// Build don't link: -// Special g++ Options: -fexceptions -// GROUPS passed exceptions -// except file -// Message-Id: <9307071456.AA05275@davinci.hio.hen.nl> -// From: akkersdi@hio.hen.nl -// Subject: exceptions broken -// Date: Wed, 7 Jul 1993 16:56:52 +0200 (MET DST) - -class ball { -public: int dummy; - ball() : dummy(0) { ; } -}; - -void pitcher() -{ - throw ball(); -} - -void catcher() -{ - try // <=== gcc 2.* fails here - { - pitcher(); - } - catch (ball) { - /* sleepy catcher doing nothing */ ; - } -} - -int main() -{ - catcher(); -}