82af3dd6ae
To help them run on the old infrastructure, which light analysis tests are still using.
26 lines
372 B
Kotlin
Vendored
26 lines
372 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
// FILE: base/Jaba.java
|
|
|
|
package base;
|
|
|
|
public class Jaba {
|
|
protected String a = "FAIL";
|
|
}
|
|
|
|
// FILE: test.kt
|
|
|
|
import base.Jaba
|
|
|
|
fun box(): String {
|
|
val x = object : Jaba() {
|
|
private val a: String = "OK"
|
|
inner class S {
|
|
fun foo() = ::a.get()
|
|
}
|
|
|
|
fun bar() = S().foo()
|
|
}
|
|
|
|
return x.bar()
|
|
}
|