aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/demangle/regression
diff options
context:
space:
mode:
authorCarlo Wood <carlo@alinoe.com>2003-10-02 14:29:26 +0000
committerCarlo Wood <carlo@gcc.gnu.org>2003-10-02 14:29:26 +0000
commit4a035cf7eadf0bef3e972323e15d234d5ec4ded6 (patch)
treeccaab9e68466ea77ca6dad097d61ff72be64ce38 /libstdc++-v3/testsuite/demangle/regression
parent28a6085042290266bb682a39cbef0a9c195d5838 (diff)
downloadgcc-4a035cf7eadf0bef3e972323e15d234d5ec4ded6.zip
gcc-4a035cf7eadf0bef3e972323e15d234d5ec4ded6.tar.gz
gcc-4a035cf7eadf0bef3e972323e15d234d5ec4ded6.tar.bz2
demangle.h (demangle<Allocator>::symbol(char const*)): Decode symbols that start with _GLOBAL_[ID]_ differently...
* include/bits/demangle.h (demangle<Allocator>::symbol(char const*)): Decode symbols that start with _GLOBAL_[ID]_ differently: the trailing part ends with a terminating zero and is not necessarily an encoding. * src/demangle.cc (): Same. * testsuite/demangle/regression/cw-13.cc: Adjust for new output. From-SVN: r72027
Diffstat (limited to 'libstdc++-v3/testsuite/demangle/regression')
-rw-r--r--libstdc++-v3/testsuite/demangle/regression/cw-13.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/demangle/regression/cw-13.cc b/libstdc++-v3/testsuite/demangle/regression/cw-13.cc
index ec883be..606eb9c 100644
--- a/libstdc++-v3/testsuite/demangle/regression/cw-13.cc
+++ b/libstdc++-v3/testsuite/demangle/regression/cw-13.cc
@@ -28,7 +28,7 @@ int main()
using namespace __gnu_test;
// cplus-dem CORE
- verify_demangle("_GLOBAL__I__Z2fnv", "global constructors keyed to fn()");
+ verify_demangle("_GLOBAL__I__Z2fnv", "global constructors keyed to _Z2fnv");
return 0;
}