summaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-03 20:42:48 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-03 20:42:48 +0000
commitc44a73939d79e4bc5dc739217b10d8e69cbb1af4 (patch)
tree85f758f12214e67f5aac6efe669abcdc7aa570c7 /libiberty/testsuite
parent29e2e80a45c9904fb8b6ed79d73b577613fdda0b (diff)
downloadgcc-c44a73939d79e4bc5dc739217b10d8e69cbb1af4.tar.gz
PR c++/4926
PR c++/38600 * mangle.c (write_unqualified_id): Split out from write_expression. (write_unqualified_name): Call it. (write_member_name): Likewise. (write_expression): Support TEMPLATE_ID_EXPR. Disambiguate operator names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156482 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r--libiberty/testsuite/demangle-expected5
1 files changed, 5 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected
index 3662f163063..0f85ddc4568 100644
--- a/libiberty/testsuite/demangle-expected
+++ b/libiberty/testsuite/demangle-expected
@@ -3932,6 +3932,11 @@ f(float vector[32])
--format=gnu-v3
_Z1fIfLi4EEvDv_T0__T_
void f<float, 4>(float vector[4])
+_Z1fI1AEDTclonplfp_fp_EET_
+decltype ((operator+)({parm#1}, {parm#1})) f<A>(A)
+--format=gnu-v3
+_Z1hI1AEDTcldtfp_miEET_
+decltype (({parm#1}.(operator-))()) h<A>(A)
#
# Ada (GNAT) tests.
#