]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/inherit/null1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / inherit / null1.C
diff --git a/gcc/testsuite/g++.dg/inherit/null1.C b/gcc/testsuite/g++.dg/inherit/null1.C
deleted file mode 100644 (file)
index 0908a01..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// PR c++/5453: Test that we don't assume that the pointer target of a
-// reference is non-null just because we know the reference isn't.
-
-// { dg-do run }
-
-struct V { };
-struct A: virtual public V { };
-
-A* ap;
-A*& apr (ap);
-
-int main ()
-{
-  V* vp = apr;
-}