aboutsummaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-07-04 17:44:11 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-07-04 17:44:11 -0400
commita517066db893616e94fcca5010dd6e80c7c80854 (patch)
treeb8011ca57a5b16674319b5adca9ce5952b474a78 /libiberty/testsuite
parentf2fe30af839aaa7d0ad617d739f22eae41181042 (diff)
downloadgcc-a517066db893616e94fcca5010dd6e80c7c80854.zip
gcc-a517066db893616e94fcca5010dd6e80c7c80854.tar.gz
gcc-a517066db893616e94fcca5010dd6e80c7c80854.tar.bz2
cp-demangle.c (d_expression): Handle 'this'.
* cp-demangle.c (d_expression): Handle 'this'. (d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise. From-SVN: r175836
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r--libiberty/testsuite/demangle-expected4
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected
index 4980cf1..2dc74be 100644
--- a/libiberty/testsuite/demangle-expected
+++ b/libiberty/testsuite/demangle-expected
@@ -3905,6 +3905,10 @@ decltype ({parm#1}+{parm#2}) add<int, double>(int, double)
--format=gnu-v3
_Z4add3IidEDTclL_Z1gEfp_fp0_EET_T0_
decltype (g({parm#1}, {parm#2})) add3<int, double>(int, double)
+# 'this' test
+--format=gnu-v3
+_ZN1A1fIiEEDTcldtdtdefpT1b1fIT_EEEv
+decltype ((((*this).b).(f<int>))()) A::f<int>()
# new (2008) built in types test
--format=gnu-v3
_Z1fDfDdDeDhDsDi