JVM: Update tests
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE
|
||||
// WITH_REFLECT
|
||||
|
||||
// FILE: A.kt
|
||||
package a
|
||||
|
||||
import kotlin.reflect.jvm.isAccessible
|
||||
|
||||
inline class S(val s: String)
|
||||
|
||||
private val ok = S("OK")
|
||||
|
||||
val ref = ::ok.apply { isAccessible = true }
|
||||
|
||||
// FILE: B.kt
|
||||
import a.*
|
||||
|
||||
fun box() = ref.call().s
|
||||
Reference in New Issue
Block a user