diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/dcast1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/dcast1.C | 20 |
1 files changed, 0 insertions, 20 deletions
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 f4d93c3c068..00000000000 --- 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<B&>(rd2); -} |