X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fvirtual3.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fvirtual3.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=b9a771910309766365f728501efedc05ac1627db;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/virtual3.C b/gcc/testsuite/g++.old-deja/g++.other/virtual3.C deleted file mode 100644 index b9a77191..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/virtual3.C +++ /dev/null @@ -1,24 +0,0 @@ -struct B -{ - virtual int f() volatile - { return 1; } -}; - -struct D : public B -{ - int f() - { return 0; } -}; - -struct D2 : public D -{ - int f() - { return 2; } -}; - -int main() -{ - D2 d2; - D& d = d2; - return d.f(); -}