package test inline fun a(body: () -> Unit) { body() println("i'm inline function a") } fun main(args: Array) { b { println("to be inlined") } }