aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2001-12-18 10:25:43 -0500
committerJason Merrill <jason@gcc.gnu.org>2001-12-18 10:25:43 -0500
commitb1bf2706e8a6c5bc3322d1b129f5efa447bf45ea (patch)
tree26fedccbc64181c243920627d4c87d78eed1708a /gcc
parent00e4119c09c83a7e3e7eb9694b17e080acb17811 (diff)
downloadgcc-b1bf2706e8a6c5bc3322d1b129f5efa447bf45ea.zip
gcc-b1bf2706e8a6c5bc3322d1b129f5efa447bf45ea.tar.gz
gcc-b1bf2706e8a6c5bc3322d1b129f5efa447bf45ea.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/lookup/using.C2
1 files changed, 1 insertions, 1 deletions
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" "" }
}