testsuite updated to reflect recent changes in codegen: branch support

This commit is contained in:
Konstantin Anisimov
2016-10-28 16:43:37 +03:00
committed by vvlevchenko
parent 76ee79adc0
commit 3c68ee4ce5
14 changed files with 149 additions and 4 deletions
@@ -0,0 +1,10 @@
fun when_through(i: Int): Int {
var value = 1
when (i) {
10 -> value = 42
11 -> value = 43
12 -> value = 44
}
return value
}