X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Fdcast1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Fdcast1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=f4d93c3c068410635fd932210fd7555998d560ae;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/dcast1.C b/gcc/testsuite/g++.old-deja/g++.jason/dcast1.C deleted file mode 100644 index f4d93c3c..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/dcast1.C +++ /dev/null @@ -1,20 +0,0 @@ -// PRMS Id: 7162 -// Build don't link: - -struct B { - int i; - B() : i(1) {} -}; - -struct D : B { - int i; - D() : i(2) {} -}; - -void ch() -{ - D od2; - D &rd2 = od2; - - B &rd1 = dynamic_cast(rd2); -}