summaryrefslogtreecommitdiff
path: root/pit/test/compile.pit
blob: 37d7f5771c1cda0335eb36970ee06394c6b3a6c4 (plain)
1
2
3
4
5
6
(defmacro! foo ()
  (setq! bar (lambda (x) (foo) (+ x 1)))
  '(print 'hi))

(foo)
(print (funcall bar 1))