mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
16 lines
183 B
Kotlin
Vendored
16 lines
183 B
Kotlin
Vendored
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
inline fun a() {}
|
|
|
|
inline fun b() {}
|
|
|
|
inline fun c(crossinline f: () -> Unit) {
|
|
object { init { f() }}
|
|
{ f() }
|
|
}
|
|
|
|
inline fun d() {
|
|
c {}
|
|
}
|