]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/conversion11.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / conversion11.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/conversion11.C b/gcc/testsuite/g++.old-deja/g++.jason/conversion11.C
deleted file mode 100644 (file)
index c0c6ca4..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// PRMS Id: 8805
-// Bug: The two-level conversion is not found when calling a global fn.
-
-class Int {
-public:
-  Int(int A);
-};
-
-class Ding {
-public:
-  Ding(Int A);
-};
-
-class Something {
-public:
-  void DoSomething(Ding A);    // ERROR - referred to
-};
-
-void DoSomething(Ding A);
-
-void foo(Something* pX)
-{
-  DoSomething(1);              // ERROR - 
-  pX->DoSomething(1);          // ERROR - 
-  (*pX).DoSomething(1);                // ERROR - 
-}