summaryrefslogtreecommitdiff
path: root/testsuite/dc.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/dc.tests')
-rwxr-xr-xtestsuite/dc.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/dc.tests b/testsuite/dc.tests
index f74e3f0..1fc13c2 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" \