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 advanced_when5(i: Int): Int {
when (i) {
0 -> { val v = 42; return v}
1 -> { val v = 42; return v}
2 -> { val v = 42; return v}
3 -> { val v = 42; return v}
4 -> { val v = 42; return v}
else -> return 24
}
}