Tests for basic control flow structures
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user