summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/vars8.bth1
-rw-r--r--tests/vars8.out1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/vars8.bth b/tests/vars8.bth
new file mode 100644
index 0000000..90f16d4
--- /dev/null
+++ b/tests/vars8.bth
@@ -0,0 +1 @@
+(if (< 2 3) (def x 100) 20)
diff --git a/tests/vars8.out b/tests/vars8.out
new file mode 100644
index 0000000..72995f4
--- /dev/null
+++ b/tests/vars8.out
@@ -0,0 +1 @@
+def only allowed at top level