]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/ptrmem5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / ptrmem5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/ptrmem5.C b/gcc/testsuite/g++.old-deja/g++.other/ptrmem5.C
deleted file mode 100644 (file)
index 7c38857..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Bug: g++ doesn't see that A is a vbase of C.
-// Submitted by Jason Merrill <jason@cygnus.com>
-// Build don't link:
-
-struct A {
-  int i;
-  void f ();
-};
-
-struct B: public A { };
-struct C: public virtual B { };
-
-void g ()
-{
-  int C::*p = &A::i;           // ERROR - conversion from vbase
-  void (C::*fp)() = &A::f;     // ERROR - conversion from vbase
-}