From b1bf2706e8a6c5bc3322d1b129f5efa447bf45ea Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 18 Dec 2001 10:25:43 -0500 Subject: [PATCH] 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 --- gcc/testsuite/g++.dg/lookup/using.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" "" } } -- 2.7.4