class.c (add_method): Do compare 'this' quals when trying to match a used function.
authorJason Merrill <jason@gcc.gnu.org>
Tue, 18 Dec 2001 15:25:43 +0000 (10:25 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 18 Dec 2001 15:25:43 +0000 (10:25 -0500)
commitb1bf2706e8a6c5bc3322d1b129f5efa447bf45ea
tree26fedccbc64181c243920627d4c87d78eed1708a
parent00e4119c09c83a7e3e7eb9694b17e080acb17811
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