]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Macros1.scl
Re-enabled Acorn transaction cancellation support for testing
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Macros1.scl
1 @macro\r
2 (||) :: Boolean -> Boolean -> Boolean \r
3 a || b = if a then True else b\r
4 \r
5 main :: Boolean\r
6 main = True || (fail "This should not be executed")\r
7 --\r
8 true