summaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2012-01-06 16:39:34 -0500
committerJason Merrill <jason@gcc.gnu.org>2012-01-06 16:39:34 -0500
commit49f2da1a16b6336cbc8f5273a3dc835625fbf23f (patch)
tree0cf62a6660665dc55d0209e692377964139cd92b /libiberty/testsuite
parent1be3db365ddbf781ee183be2632140bcedfcf66c (diff)
downloadgcc-49f2da1a16b6336cbc8f5273a3dc835625fbf23f.tar.gz
cp-demangle.c (cplus_demangle_type): decltype, pack expansion and vector are substitutable.
* cp-demangle.c (cplus_demangle_type): decltype, pack expansion and vector are substitutable. (cplus_demangle_operators): Sort. From-SVN: r182969
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r--libiberty/testsuite/demangle-expected12
1 files changed, 12 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected
index 70abf681ae8..642fe1427ed 100644
--- a/libiberty/testsuite/demangle-expected
+++ b/libiberty/testsuite/demangle-expected
@@ -4018,6 +4018,18 @@ K<1, &S::m>::f()
--format=gnu-v3
_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_
_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_
+# A pack expansion is substitutable.
+--format=gnu-v3
+_Z1fIJiEiEv1AIJDpT_EET0_S4_
+void f<int, int>(A<int>, int, int)
+# So is decltype.
+--format=gnu-v3
+_Z1fIiiEDTcvT__EET0_S2_
+decltype ((int)()) f<int, int>(int, int)
+# And vector.
+--format=gnu-v3
+_Z1fDv4_iS_
+f(int __vector(4), int __vector(4))
#
# Ada (GNAT) tests.
#