public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libiberty: d-demangle: Add test case for function literals
@ 2021-10-13 18:43 Luís Ferreira
  2021-10-14 16:25 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Luís Ferreira @ 2021-10-13 18:43 UTC (permalink / raw)
  To: gcc-patches; +Cc: Luís Ferreira

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(+)

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
-- 
2.33.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] libiberty: d-demangle: Add test case for function literals
  2021-10-13 18:43 [PATCH] libiberty: d-demangle: Add test case for function literals Luís Ferreira
@ 2021-10-14 16:25 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2021-10-14 16:25 UTC (permalink / raw)
  To: Luís Ferreira, gcc-patches



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-14 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 18:43 [PATCH] libiberty: d-demangle: Add test case for function literals Luís Ferreira
2021-10-14 16:25 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).