OSDN Git Service

up
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Oct 1998 01:57:15 +0000 (01:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Oct 1998 01:57:15 +0000 (01:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23388 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.old-deja/g++.robertl/eb70.C

index a82a399..30da184 100644 (file)
@@ -1,19 +1,17 @@
 // conversion ops should be treated as coming from the most derived class
 // for overload resolution.  See [over.match.funcs].
 // Build don't link:
-// excess errors test - XFAIL *-*-*
 
 class X {
 public:
-  inline operator bool() const { return true; }
+  operator bool() const;
 };
 
 class Y : public X {
 private:
-  inline operator void*() const { return 0; }
+  operator void*() const;
 };
 
-
 int f(Y const& y) {
   return bool(y);
 }