]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.robertl/eb70.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb70.C
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb70.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb70.C
deleted file mode 100644 (file)
index 30da184..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// conversion ops should be treated as coming from the most derived class
-// for overload resolution.  See [over.match.funcs].
-// Build don't link:
-
-class X {
-public:
-  operator bool() const;
-};
-
-class Y : public X {
-private:
-  operator void*() const;
-};
-
-int f(Y const& y) {
-  return bool(y);
-}