summaryrefslogtreecommitdiffstats
path: root/tests/008/call.txr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/008/call.txr')
-rw-r--r--tests/008/call.txr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/008/call.txr b/tests/008/call.txr
new file mode 100644
index 00000000..0cbb39f6
--- /dev/null
+++ b/tests/008/call.txr
@@ -0,0 +1,13 @@
+@(next :list '("1"))
+@(define match1 (A))
+@ (all)
+1
+@ (and)
+@A
+@ (end)
+@(end)
+@(call 'match1 A)
+@(output)
+correct
+@A
+@(end)