summaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-08-01 17:02:07 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-08-01 17:02:07 -0400
commit4bbff96e369cf96ee1c6bd3fd9f7728c08e05da8 (patch)
treee2466ac7db646acfd78689bc5c745b698c31ba6f /libiberty/testsuite
parent3748a54ca39e4aa0d38cec50b8e8ee7b7a93df09 (diff)
downloadgcc-4bbff96e369cf96ee1c6bd3fd9f7728c08e05da8.tar.gz
re PR c++/49932 ([C++0x] ICE on instantiating decltype(expr)::type with template)
PR c++/49932 gcc/cp/ * mangle.c (write_prefix): Handle decltype. libiberty/ * cp-demangle.c (d_prefix): Handle decltype. From-SVN: r177074
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 f9e84473c0b..3737cfd7bdb 100644
--- a/libiberty/testsuite/demangle-expected
+++ b/libiberty/testsuite/demangle-expected
@@ -3901,6 +3901,10 @@ java resource java/util/iso4217.properties
--format=gnu-v3
_Z3addIidEDTplfp_fp0_ET_T0_
decltype ({parm#1}+{parm#2}) add<int, double>(int, double)
+# decltype scope test
+--format=gnu-v3
+_Z1fI1SENDtfp_E4typeET_
+decltype ({parm#1})::type f<S>(S)
# decltype/fn call test
--format=gnu-v3
_Z4add3IidEDTclL_Z1gEfp_fp0_EET_T0_