summaryrefslogtreecommitdiff
path: root/test/bif.pit
diff options
context:
space:
mode:
Diffstat (limited to 'test/bif.pit')
-rw-r--r--test/bif.pit12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/bif.pit b/test/bif.pit
new file mode 100644
index 0000000..81a1248
--- /dev/null
+++ b/test/bif.pit
@@ -0,0 +1,12 @@
+(print! nil)
+(print! nil)
+(print! t)
+(print! (eq? 1 1))
+(diagnostics!)
+(defun! bif (x)
+ (cons x x))
+(diagnostics!)
+(setq! foo (print! (bif (bif (bif 67)))))
+(print! (eq? (car foo) (cdr foo)))
+(diagnostics!)
+(print! foo)