From: Jason Merrill Date: Tue, 18 Dec 2001 15:25:43 +0000 (-0500) Subject: class.c (add_method): Do compare 'this' quals when trying to match a used function. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1bf2706e8a6c5bc3322d1b129f5efa447bf45ea;p=platform%2Fupstream%2Fgcc.git class.c (add_method): Do compare 'this' quals when trying to match a used function. * class.c (add_method): Do compare 'this' quals when trying to match a used function. Don't defer to another used function. From-SVN: r48158 --- diff --git a/gcc/testsuite/g++.dg/lookup/using.C b/gcc/testsuite/g++.dg/lookup/using.C index 89e6e1c..30e22c0 100644 --- a/gcc/testsuite/g++.dg/lookup/using.C +++ b/gcc/testsuite/g++.dg/lookup/using.C @@ -17,7 +17,7 @@ struct Derived : Base { int main() { Derived d; - X x = d.f(); // { dg-bogus "Y" "" { xfail *-*-* } } + X x = d.f(); // { dg-bogus "Y" "" } }