ceeccfa1b7
IrGetBackingField / IrSetBackingField expressions.
20 lines
281 B
Kotlin
Vendored
20 lines
281 B
Kotlin
Vendored
// FILE: Derived.kt
|
|
// IR_FILE: jvmInstanceFieldReference.txt
|
|
class Derived: Base() {
|
|
init {
|
|
value = 0
|
|
}
|
|
|
|
fun getValue() = value
|
|
|
|
fun setValue(value: Int) {
|
|
this.value = value
|
|
}
|
|
}
|
|
|
|
// FILE: Base.java
|
|
public class Base {
|
|
public int value;
|
|
}
|
|
|