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