]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/cast7.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / cast7.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/cast7.C b/gcc/testsuite/g++.old-deja/g++.other/cast7.C
deleted file mode 100644 (file)
index 8cdaa99..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// Test that we can add cv-quals in a static cast to a pointer-to-base type.
-
-struct A { int i; };
-struct B : public A {};
-
-int main()
-{
-  int B::* bp = &B::i;
-  const int A::* ap = static_cast<const int A::*>(bp);
-  return ap != bp;
-}