Files
kotlin-fork/compiler/testData/codegen/classes/simplestClosureAndBoxing.jet
T

8 lines
146 B
Plaintext

fun box() : String {
return if (int_invoker( { 7 } ) == 7) "OK" else "fail"
}
fun int_invoker(gen : fun () : Int) : Int {
return gen()
}