libiberty: d-demangle: add test cases for simple special mangles

Message ID 20211013190209.248982-1-contact@lsferreira.net
State Committed
Commit 0555b86b5eaac60ce79d94451a8bcdafb095a47b
Headers
Series libiberty: d-demangle: add test cases for simple special mangles |

Commit Message

Luís Ferreira Oct. 13, 2021, 7:02 p.m. UTC
  Simple mangled names (only with identifiers) are not being covered by coverage
tests.

Signed-off-by: Luís Ferreira <contact@lsferreira.net>

libiberty/ChangeLog:

	* testsuite/d-demangle-expected: add test cases for simple special mangles
---
 libiberty/testsuite/d-demangle-expected | 8 ++++++++
 1 file changed, 8 insertions(+)
  

Comments

Jeff Law Oct. 14, 2021, 4:24 p.m. UTC | #1
On 10/13/2021 1:02 PM, Luís Ferreira wrote:
> Simple mangled names (only with identifiers) are not being covered by coverage
> tests.
>
> Signed-off-by: Luís Ferreira <contact@lsferreira.net>
>
> libiberty/ChangeLog:
>
> 	* testsuite/d-demangle-expected: add test cases for simple special mangles
THanks.  Pushed to the trunk.
jeff
  

Patch

diff --git a/libiberty/testsuite/d-demangle-expected b/libiberty/testsuite/d-demangle-expected
index 44a3649c429..ba54e5a2812 100644
--- a/libiberty/testsuite/d-demangle-expected
+++ b/libiberty/testsuite/d-demangle-expected
@@ -18,6 +18,14 @@  _Dmain
 D main
 #
 --format=dlang
+_D8demangleZ
+demangle
+#
+--format=dlang
+_D8demangle4testZ
+demangle.test
+#
+--format=dlang
 _D8demangle4testPFLAiYi
 demangle.test
 #