Files
kotlin/compiler/testData/codegen/script/secondLevelFunction.ktscript
2012-06-05 22:56:26 +04:00

11 lines
94 B
Plaintext

val x: Int
if (true) {
fun foo(y: Int) = y + 20
x = foo(9)
}
x
// expected: rv: 29