Tests for basic control flow structures

This commit is contained in:
Andrey Breslav
2011-04-04 21:11:15 +04:00
parent 1fc134072c
commit fee824bd78
20 changed files with 570 additions and 431 deletions
+9
View File
@@ -0,0 +1,9 @@
fun assignments() : Unit {
var x = 1
x = 2
x = if (true) 1 else 2
val y = true && false
val z = false && true
}