X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fref3.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fref3.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=6d615d4ce99d13d3e9547afd9a0931ef8cc7d599;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/ref3.C b/gcc/testsuite/g++.old-deja/g++.other/ref3.C deleted file mode 100644 index 6d615d4c..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/ref3.C +++ /dev/null @@ -1,30 +0,0 @@ -// Origin: Mark Mitchell - -struct B1 -{ - int i; -}; - -struct B2 -{ - int j; -}; - -struct D: public B1, B2 -{ -}; - -bool f (B2& b) -{ - return b.j == 7; -} - -int main () -{ - D d; - d.i = 2; - d.j = 7; - if (!f (d)) - return 1; -} -