Files
kotlin/compiler/testData/codegen/box/callableReference/bound/inline/simple.kt
2016-11-09 21:41:12 +03:00

9 lines
185 B
Kotlin
Vendored

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
inline fun foo(x: () -> String) = x()
fun String.id() = this
fun box() = foo("OK"::id)