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,11 @@
fun advanced_when2(i: Int): Int {
var value = 1
when (i) {
10 -> {val v = 42; value = v}
// 11 -> {val v = 43; value = v}
// 12 -> {val v = 44; value = v}
}
return value
}