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
This commit is contained in:
Jason Merrill 2001-12-18 10:25:43 -05:00
parent 00e4119c09
commit b1bf2706e8
1 changed files with 1 additions and 1 deletions

View File

@ -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" "" }
}