re PR c++/56821 (Unable to overload with references to 'this'.)
authorJason Merrill <jason@redhat.com>
Wed, 3 Apr 2013 03:11:02 +0000 (23:11 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 3 Apr 2013 03:11:02 +0000 (23:11 -0400)
commite0f0935b9dbe8028ba426c6b1051dff96d043f2e
treeed1e3ac4e01777906474084ab463957914cbbe61
parentfd541994aee8383d39920dc48fea0967fb839e6c
re PR c++/56821 (Unable to overload with references to 'this'.)

PR c++/56821
* mangle.c (write_function_type): Mangle ref-qualifier.
(write_nested_name): Likewise.
(canonicalize_for_substitution): Preserve ref-qualifier.
(write_type): Likewise.

From-SVN: r197386
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/testsuite/g++.dg/cpp0x/ref-qual-mangle1.C [new file with mode: 0644]