diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2001-12-18 10:25:43 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-12-18 10:25:43 -0500 |
commit | b1bf2706e8a6c5bc3322d1b129f5efa447bf45ea (patch) | |
tree | 26fedccbc64181c243920627d4c87d78eed1708a | |
parent | 00e4119c09c83a7e3e7eb9694b17e080acb17811 (diff) | |
download | gcc-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
-rw-r--r-- | gcc/testsuite/g++.dg/lookup/using.C | 2 |
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" "" } } |