aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/abi
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2010-11-13 01:21:12 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2010-11-13 01:21:12 +0000
commit759fe2404dd075257782f397bf84399e37925e4b (patch)
tree950bf5257c49674807126f428527ee5d594c2dba /libstdc++-v3/testsuite/abi
parent3c87e428b0a0a16d8dded98e3689da882c53be35 (diff)
downloadgcc-759fe2404dd075257782f397bf84399e37925e4b.zip
gcc-759fe2404dd075257782f397bf84399e37925e4b.tar.gz
gcc-759fe2404dd075257782f397bf84399e37925e4b.tar.bz2
re PR other/46332 (__cxa_demangle yields excess parentheses for function types)
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. From-SVN: r166695
Diffstat (limited to 'libstdc++-v3/testsuite/abi')
-rw-r--r--libstdc++-v3/testsuite/abi/demangle/abi_examples/14.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/abi/demangle/abi_examples/14.cc b/libstdc++-v3/testsuite/abi/demangle/abi_examples/14.cc
index 010e469..98b9987 100644
--- a/libstdc++-v3/testsuite/abi/demangle/abi_examples/14.cc
+++ b/libstdc++-v3/testsuite/abi/demangle/abi_examples/14.cc
@@ -33,7 +33,7 @@ int main()
template void foo<int, fun, int>();
*/
//demangle("_Z3fooIiPFidEiEvv", "void foo<int, int (*)(double), int>(void)");
- verify_demangle("_Z3fooIiFvdEiEvv", "void foo<int, void ()(double), int>()");
+ verify_demangle("_Z3fooIiFvdEiEvv", "void foo<int, void (double), int>()");
return 0;
}