20ddaa9ebf
#KT-48621 Fixed
27 lines
280 B
Kotlin
Vendored
27 lines
280 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
|
|
// WITH_RUNTIME
|
|
// FILE: 1.kt
|
|
|
|
package test2
|
|
|
|
import test.A
|
|
|
|
class C : A() {
|
|
fun a(): String {
|
|
return this.s
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return C().a()
|
|
}
|
|
|
|
// FILE: 2.kt
|
|
|
|
package test
|
|
|
|
open class A {
|
|
@JvmField protected val s = "OK";
|
|
}
|