aboutsummaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-10-20 23:50:37 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-10-20 23:50:37 +0000
commiteec65ede89d0e086c43206a66614598101f270b4 (patch)
tree4e7bba50bcac564a7a224b98e3f229568a86f40b /libiberty/testsuite
parent3a48a978f9bd0b2288e60f126995a445f3130b09 (diff)
downloadfsf-binutils-gdb-eec65ede89d0e086c43206a66614598101f270b4.zip
fsf-binutils-gdb-eec65ede89d0e086c43206a66614598101f270b4.tar.gz
fsf-binutils-gdb-eec65ede89d0e086c43206a66614598101f270b4.tar.bz2
* cplus-dem.c (demangle_template): Register a new Btype only
when needed. * testsuite/demangle-expected: Add a new test.
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r--libiberty/testsuite/demangle-expected6
1 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected
index dabcc19..d570666 100644
--- a/libiberty/testsuite/demangle-expected
+++ b/libiberty/testsuite/demangle-expected
@@ -2864,3 +2864,9 @@ r(int (G::*)(), int (G::*)() const, G, int (H::*)(), int (G::*)(), what<G const>
--format=auto
__CPR212____ct__Q3_3std141list__tm__128_Q2_3edm41THandle__tm__26_Q2_4emid15EMparticleChunkQ2_3std68allocator__tm__51_Q2_3edmJ37J14const_iteratorFRCQ3_3std18list__tm__7_Z1ZZ2Z8iterator
__CPR212____ct__Q3_3std141list__tm__128_Q2_3edm41THandle__tm__26_Q2_4emid15EMparticleChunkQ2_3std68allocator__tm__51_Q2_3edmJ37J14const_iteratorFRCQ3_3std18list__tm__7_Z1ZZ2Z8iterator
+#
+# This used to cause a crash. It doesn't follow the C++ syntax so
+# the demangled name should be identical to the original symbol name.
+--format=auto
+_test_array__L_1__B23b___clean.6
+_test_array__L_1__B23b___clean.6