summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/func1.bth3
-rw-r--r--tests/func1.out1
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/func1.bth b/tests/func1.bth
new file mode 100644
index 0000000..c46e956
--- /dev/null
+++ b/tests/func1.bth
@@ -0,0 +1,3 @@
+(do
+ (set f (fn (_) 42))
+ (f 0))
diff --git a/tests/func1.out b/tests/func1.out
new file mode 100644
index 0000000..d81cc07
--- /dev/null
+++ b/tests/func1.out
@@ -0,0 +1 @@
+42