From: Ian Lance Taylor Date: Mon, 28 Jun 2004 17:36:27 +0000 (+0000) Subject: * testsuite/demangle-expected: Add test case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cd2906234e13880f9ba8ef10a0a3d3550914e77;p=gcc.git * testsuite/demangle-expected: Add test case. From-SVN: r83799 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 0a3ab05d506..96b111af60d 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -3,6 +3,7 @@ PR other/16240 * cp-demangle.c (d_expr_primary): Check for a failure return from cplus_demangle_type. + * testsuite/demangle-expected: Add test case. 2004-05-31 Danny Smith diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 9a3f0b9da8d..d38ce33c830 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -3699,6 +3699,11 @@ _Z3fooIPA3_iEvRKT_ void foo(int (* const&) [3]) foo # +# This used to crash the demangler--PR 16240 +--format=gnu-v3 --no-params +_ZN13PatternDriver23StringScalarDeleteValueC1ERKNS_25ConflateStringScalarValueERKNS_25AbstractStringScalarValueERKNS_12TemplateEnumINS_12pdcomplementELZNS_16complement_namesEELZNS_14COMPLEMENTENUMEEEE +_ZN13PatternDriver23StringScalarDeleteValueC1ERKNS_25ConflateStringScalarValueERKNS_25AbstractStringScalarValueERKNS_12TemplateEnumINS_12pdcomplementELZNS_16complement_namesEELZNS_14COMPLEMENTENUMEEEE +PatternDriver::StringScalarDeleteValue::StringScalarDeleteValue # Test GNU V3 constructor and destructor identification. # 0 means it is not a constructor/destructor. # Other integers correspond to enum gnu_v3_{c,d}tor_kinds in demangle.h.