Files
kotlin-fork/compiler/testData/codegen/boxInline/enum/kt18254.kt
T
2018-06-28 12:26:41 +02:00

20 lines
267 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// FILE: 1.kt
// WITH_RUNTIME
package test
inline fun stub() {}
enum class Z {
OK
}
// FILE: 2.kt
// NO_CHECK_LAMBDA_INLINING
import test.*
fun box(): String {
return { enumValueOf<Z>("OK").name } ()
}