diff mbox series

libiberty: d-demangle: Add test case for function literals

Message ID 20211013184339.241171-1-contact@lsferreira.net
State Committed
Commit e19eea30d61af0f9c8442bbee62441536394a513
Headers show
Series libiberty: d-demangle: Add test case for function literals | expand

Commit Message

Luís Ferreira Oct. 13, 2021, 6:43 p.m. UTC
Coverage tests doesn't include a case for function literals

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

libiberty/ChangeLog:

	* testsuite/d-demangle-expected: add test case for function literals
---
 libiberty/testsuite/d-demangle-expected | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Jeff Law Oct. 14, 2021, 4:25 p.m. UTC | #1
On 10/13/2021 12:43 PM, Luís Ferreira wrote:
> Coverage tests doesn't include a case for function literals
>
> Signed-off-by: Luís Ferreira <contact@lsferreira.net>
>
> libiberty/ChangeLog:
>
> 	* testsuite/d-demangle-expected: add test case for function literals
THanks.  Installed.
jeff
diff mbox series

Patch

diff --git a/libiberty/testsuite/d-demangle-expected b/libiberty/testsuite/d-demangle-expected
index 44a3649c429..3c3aebb06aa 100644
--- a/libiberty/testsuite/d-demangle-expected
+++ b/libiberty/testsuite/d-demangle-expected
@@ -973,6 +973,10 @@  demangle.test(char)
 _D8demangle000000004testFaZv
 demangle.test(char)
 #
+--format=dlang
+_D8demangle__T3abcS_DQt10__lambda13FNaNbNiNfZiZQBhFZi
+demangle.abc!(demangle.__lambda13()).abc()
+#
 # Unittests
 #
 --format=dlang