diff options
author | Jason Merrill <jason@redhat.com> | 2016-07-18 11:28:51 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-07-18 11:28:51 -0400 |
commit | 7864eaaff7740c356f4b5c0a9dd9765b64a667ef (patch) | |
tree | 71bba0c83fb0345dbe4c8523a8595db27c3d49b3 /libiberty/testsuite/demangle-expected | |
parent | 40f3e913345c7d43c4677631f90fdff0780d2dce (diff) | |
download | gcc-7864eaaff7740c356f4b5c0a9dd9765b64a667ef.zip gcc-7864eaaff7740c356f4b5c0a9dd9765b64a667ef.tar.gz gcc-7864eaaff7740c356f4b5c0a9dd9765b64a667ef.tar.bz2 |
Demangle C++17 fold-expressions.
* cp-demangle.c (cplus_demangle_operators): Add f[lrLR].
(d_expression_1): Handle them.
(d_maybe_print_fold_expression): New.
(d_print_comp_inner): Use it.
(d_index_template_argument): Handle negative index.
From-SVN: r238437
Diffstat (limited to 'libiberty/testsuite/demangle-expected')
-rw-r--r-- | libiberty/testsuite/demangle-expected | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 92ad01f..535f2c1 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -4542,6 +4542,18 @@ void f<int, double>(A<2>) _ZN1A1fIJiiEiJiiiEEEvRAsPDpT_T0_DpT1_E_iS3_S5_ void A::f<int, int, int, int, int, int>(int (&) [6], int, int, int, int) + +_Z10unary_leftIJLi1ELi2ELi3EEEv1AIXflplT_EE +void unary_left<1, 2, 3>(A<(...+(1, 2, 3))>) + +_Z11unary_rightIJLi1ELi2ELi3EEEv1AIXfrplT_EE +void unary_right<1, 2, 3>(A<((1, 2, 3)+...)>) + +_Z11binary_leftIJLi1ELi2ELi3EEEv1AIXfLplLi42ET_EE +void binary_left<1, 2, 3>(A<((42)+...+(1, 2, 3))>) + +_Z12binary_rightIJLi1ELi2ELi3EEEv1AIXfRplT_Li42EEE +void binary_right<1, 2, 3>(A<((1, 2, 3)+...+(42))>) # # Tests a use-after-free problem PR70481 |