blob: 9421ccb6a1017155a52d4be6b8da6e7c827f54b7 [file] [log] [blame]
// !LANGUAGE: +InlineClasses
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FILE: test.kt
inline class R(private val r: Int) {
companion object {
@JvmStatic
fun ok() = "OK"
}
}
fun box() = J.test()
// FILE: J.java
public class J {
public static String test() {
return R.ok();
}
}