]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/dcast1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / dcast1.C
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 (file)
index f4d93c3..0000000
+++ /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);
-}