summaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-13 01:21:12 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-13 01:21:12 +0000
commitd220184890e06196919cd4b4fd6cf9b3f0683102 (patch)
tree950bf5257c49674807126f428527ee5d594c2dba /libiberty/testsuite
parent3f6d1d34de576a1522891b47a2884a6d9de9b2c8 (diff)
downloadgcc-d220184890e06196919cd4b4fd6cf9b3f0683102.tar.gz
libiberty/:
PR other/46332 * cp-demangle.c (d_print_function_type): Don't print parentheses if there are no modifiers to print. * testsuite/demangle-expected: Tweak one test case, add another. libstdc++/: * testsuite/abi/demangle/abi_examples/14.cc (main): Change expected demangling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166695 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r--libiberty/testsuite/demangle-expected9
1 files changed, 7 insertions, 2 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected
index 0507ce86651..5b154455a01 100644
--- a/libiberty/testsuite/demangle-expected
+++ b/libiberty/testsuite/demangle-expected
@@ -3325,8 +3325,13 @@ first<Duo>
#
--format=gnu-v3 --no-params
_Z3fooIiFvdEiEvv
-void foo<int, void ()(double), int>()
-foo<int, void ()(double), int>
+void foo<int, void (double), int>()
+foo<int, void (double), int>
+#
+--format=gnu-v3 --no-params
+_Z1fIFvvEEvv
+void f<void ()>()
+f<void ()>
#
--format=gnu-v3 --no-params
_ZN1N1fE