]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/IfWithoutElse.scl
Supply SVG text editor with element measurement context
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / IfWithoutElse.scl
1 import "Prelude"
2
3 main = do
4     x = ref 3
5     if 2 > 1
6     then x := 4
7     if 1 > 2
8     then x := 8
9     getRef x
10 --
11 4