From b64470be177314e8473fae6c32cab51cacb89fa7 Mon Sep 17 00:00:00 2001 From: Brian Foley Date: Thu, 5 Sep 2019 10:50:13 +0200 Subject: dc: Fix segfault when executing strings generated using asciify function old new delta zxc_vm_process 6884 6891 +7 Signed-off-by: Brian Foley Signed-off-by: Denys Vlasenko --- testsuite/dc.tests | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testsuite/dc.tests') diff --git a/testsuite/dc.tests b/testsuite/dc.tests index f74e3f0f5..1fc13c201 100755 --- a/testsuite/dc.tests +++ b/testsuite/dc.tests @@ -54,6 +54,11 @@ testing "dc: x should not execute or pop non-strings" \ "42\n" \ "" "" +testing "dc: x should work with strings created from a" \ + "dc -e'42 112 a x'" \ + "42\n" \ + "" "" + testing "dc read" \ "dc -finput" \ "2\n9\n1\n" \ -- cgit v1.2.3