diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/cvt4.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.law/cvt4.C | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/cvt4.C b/gcc/testsuite/g++.old-deja/g++.law/cvt4.C deleted file mode 100644 index d45d7898986..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.law/cvt4.C +++ /dev/null @@ -1,27 +0,0 @@ -// GROUPS passed conversions -// cvt file -// Message-Id: <9308091213.AA11572@emmy.Mathematik.Uni-Dortmund.DE> -// From: Michael Strauch <strauch@emmy.mathematik.uni-dortmund.de> -// Subject: Bug in GCC 2.4.5 -// Date: Mon, 9 Aug 93 14:13:50 MESZ - -extern "C" int printf (const char *, ...); - -int destruct = 2; - - class Test{ - protected: - long x; - public: - Test(){;} - Test(long l) {x=l;} - ~Test() {if (--destruct == 0) printf ("PASS\n");} - }; - -int main() - { - long i=1; - Test t; - - t=(Test)i; - } |