summaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-06 21:39:34 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-06 21:39:34 +0000
commit407e46c7d13e0cbfeab899a1983e720545521e33 (patch)
tree0cf62a6660665dc55d0209e692377964139cd92b /libiberty/testsuite
parentfb5491a01b3b59e01592ab64e570683ba6dfad42 (diff)
downloadgcc-407e46c7d13e0cbfeab899a1983e720545521e33.tar.gz
* cp-demangle.c (cplus_demangle_type): decltype, pack expansion
and vector are substitutable. (cplus_demangle_operators): Sort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182969 138bc75d-0d04-0410-961f-82ee72b054a4
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.
#