Files
kotlin-fork/compiler/testData/codegen/boxInline/withoutInline/1.kt
T
2014-03-03 15:43:35 +04:00

11 lines
198 B
Kotlin

fun test1(): Int {
val inlineX = Inline()
var p = {(l : Int) -> l};
return inlineX.calc(p, 25)
}
fun box(): String {
if (test1() != 25) return "test1: ${test1()}"
return "OK"
}