X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Foperators16.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Foperators16.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=76fcb640eaf2089ede4e420fb977ce9ff712ccd0;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.law/operators16.C b/gcc/testsuite/g++.old-deja/g++.law/operators16.C deleted file mode 100644 index 76fcb640..00000000 --- a/gcc/testsuite/g++.old-deja/g++.law/operators16.C +++ /dev/null @@ -1,29 +0,0 @@ -// GROUPS passed operators -// copy file -// From: gfm@mencon.mencon.oz.au (Graham Menhennitt) -// Date: Thu, 29 Apr 93 20:53:07 EST -// Subject: 4 bugs in g++ 2.3.3 -// Message-ID: <9304291053.AA00090@mencon> - -#include - -int pass = 0; -struct A { - A(void) {} - A(const A& a) { ; } - A& operator = (const A& a) { pass = 1; return *this; } -}; - -struct B { - B(const A& aa) { B::a = aa; } - A a; -}; - -int main(void) -{ - B b = A(); - if (pass) - printf ("PASS\n"); - else - { printf ("FAIL\n"); return 1; } -}