Files
kotlin-fork/compiler/testData/codegen/boxInline/smap/inlineOnly/noSmapWithProperty.kt
T
2021-02-02 17:53:53 +03:00

20 lines
283 B
Kotlin
Vendored

// IGNORE_FIR_DIAGNOSTICS
// WITH_RUNTIME
// FILE: 1.kt
package test
inline fun stub() {
}
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
@kotlin.internal.InlineOnly
inline val prop: String
get() = "OK"
// FILE: 2.kt
import test.*
fun box(): String {
return prop
}