]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/overload1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / overload1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload1.C b/gcc/testsuite/g++.old-deja/g++.jason/overload1.C
deleted file mode 100644 (file)
index e29a7c1..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-// Bug: g++ thinks there is a conversion from void * to B *.
-// Build don't link:
-
-struct A {
-  operator void* ();
-};
-
-struct B: public A { };
-
-void bar (A& a) {
-  B* bp = (B*)a;               // ERROR - 
-}