summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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)