jak-project/test/goalc/source_templates/control-statements/conditional-compilation.static.gc
2020-10-08 00:05:01 -04:00

12 lines
146 B
Common Lisp

;; test the use of #cond to evaluate goos expressions at compile time
(#cond
((> 2 (+ 2 1))
1
(invalid-code)
)
((< 2 (+ 1 2))
3
)
)