summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-07-31 17:28:44 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-07-31 17:36:57 -0700
commitbf1cc0077168d7c1efa903afb5aa782d071533b6 (patch)
treee5925c12772ee9597cbde438e32f36aa1bdf1bd2 /tests
parentf8010dc6f95b967ffc6b653b33300e4b4d850c14 (diff)
downloadtxr-bf1cc0077168d7c1efa903afb5aa782d071533b6.tar.gz
txr-bf1cc0077168d7c1efa903afb5aa782d071533b6.tar.bz2
txr-bf1cc0077168d7c1efa903afb5aa782d071533b6.zip
txr-012 2009-09-28txr-012
Diffstat (limited to 'tests')
-rw-r--r--tests/003/query-1.expected2
-rw-r--r--tests/003/query-1.txr18
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/003/query-1.expected b/tests/003/query-1.expected
new file mode 100644
index 00000000..dd18efe8
--- /dev/null
+++ b/tests/003/query-1.expected
@@ -0,0 +1,2 @@
+local fun!
+global fun!
diff --git a/tests/003/query-1.txr b/tests/003/query-1.txr
new file mode 100644
index 00000000..4f56151e
--- /dev/null
+++ b/tests/003/query-1.txr
@@ -0,0 +1,18 @@
+@(define which)
+@ (fun)
+@(end)
+@(define fun)
+@ (output)
+global fun!
+@ (end)
+@(end)
+@(define caller)
+@ (define fun)
+@ (output)
+local fun!
+@ (end)
+@ (end)
+@ (which)
+@(end)
+@(caller)
+@(which)