diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.robertl/eb70.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb70.C | 17 |
1 files changed, 0 insertions, 17 deletions
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 index 30da1845973..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb70.C +++ /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); -} |