blob: 91fcc3a88c1f2224f0de1a4e9cd09395db7f9291 [file] [log] [blame]
// !LANGUAGE: +ReferencesToSyntheticJavaProperties
// TARGET_BACKEND: JVM_IR
// FILE: J.java
public class J<T> {
private final T value;
public J(T value) {
this.value = value;
}
public T getValue() {
return value;
}
public T foo() {
return value;
}
}
// FILE: test.kt
fun box(): String {
val j = J("OK")
return run(j::value)
}