Files
kotlin-fork/compiler/testData/codegen/boxInline/smap/inlineOnly/noSmapWithProperty.kt
T
pyos e6d923f65c FIR: rename HIDDEN to INVISIBLE_REFERENCE
Some of them should be INVISIBLE_MEMBER though
2021-04-21 16:18:21 +03:00

20 lines
258 B
Kotlin
Vendored

// 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
}