Files
kotlin/compiler/testData/codegen/script/secondLevelFunction.ktscript
2012-05-31 19:31:40 +04:00

11 lines
90 B
Plaintext

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