d73d3c46e2
#KT-56386 Fixed Co-authored-by: Mikhail Glukhikh <Mikhail.Glukhikh@jetbrains.com>
18 lines
317 B
Kotlin
Vendored
18 lines
317 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
// IGNORE_BACKEND_K1: JVM_IR
|
|
// Field VS property: case "reference"
|
|
|
|
// FILE: BaseJava.java
|
|
public class BaseJava {
|
|
public String a = "OK";
|
|
}
|
|
|
|
// FILE: Derived.kt
|
|
class Derived : BaseJava() {
|
|
private val a = "FAIL"
|
|
}
|
|
|
|
fun box(): String {
|
|
val d = Derived()
|
|
return d::a.get()
|
|
} |