2d1abda9a1
Also includes minor test fix, related to KT-14900
13 lines
205 B
Kotlin
Vendored
13 lines
205 B
Kotlin
Vendored
// PROBLEM: none
|
|
fun test(n: Int): String {
|
|
var res: String = ""
|
|
var res2: String = ""
|
|
|
|
<caret>if (n == 1) {
|
|
res = "one"
|
|
} else {
|
|
res2 = "two"
|
|
}
|
|
|
|
return res + res2
|
|
} |