summaryrefslogtreecommitdiff
path: root/tests/pend2.bth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pend2.bth')
-rw-r--r--tests/pend2.bth7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pend2.bth b/tests/pend2.bth
new file mode 100644
index 0000000..69004df
--- /dev/null
+++ b/tests/pend2.bth
@@ -0,0 +1,7 @@
+(defn (f x)
+ (, 10
+ (if x 5 [6 7 8])
+ 100))
+
+(say (f true))
+(say (f false))