aboutsummaryrefslogtreecommitdiff
path: root/libiberty/testsuite/demangle-expected
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-12-13 07:16:05 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-12-13 07:16:05 +0100
commit816f4314406078414c7d200fa28ccb680530bed9 (patch)
tree974dc2208d900f42d862e2579ea63aad6c9fdd59 /libiberty/testsuite/demangle-expected
parent4de3788411d4d060c1cf1eef11f98f31c7b101fd (diff)
downloadgcc-816f4314406078414c7d200fa28ccb680530bed9.zip
gcc-816f4314406078414c7d200fa28ccb680530bed9.tar.gz
gcc-816f4314406078414c7d200fa28ccb680530bed9.tar.bz2
re PR c++/78761 (C++14, compiler generate mangled name that can not be demangled)
PR c++/78761 * cp-demangle.c (cplus_demangle_type): Demangle Dc as decltype(auto). * testsuite/demangle-expected: Add test for decltype(auto). From-SVN: r243593
Diffstat (limited to 'libiberty/testsuite/demangle-expected')
-rw-r--r--libiberty/testsuite/demangle-expected3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected
index 803decd..b65dcd3 100644
--- a/libiberty/testsuite/demangle-expected
+++ b/libiberty/testsuite/demangle-expected
@@ -4200,6 +4200,9 @@ decltype (new auto({parm#1})) f<int>(int)
_Z1fIiERDaRKT_S1_
auto& f<int>(int const&, int)
--format=gnu-v3
+_Z1gIiEDcRKT_S0_
+decltype(auto) g<int>(int const&, int)
+--format=gnu-v3
_Z1gILi1EEvR1AIXT_EER1BIXscbT_EE
void g<1>(A<1>&, B<static_cast<bool>(1)>&)
--format=gnu-v3