Files
kotlin/compiler/testData/codegen/box/properties/protectedJavaFieldInInline.kt
2016-11-09 21:41:12 +03:00

23 lines
316 B
Kotlin
Vendored

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// FILE: JavaClass.java
public class JavaClass {
protected String FIELD = "OK";
}
// FILE: Kotlin.kt
package test
import JavaClass
class B : JavaClass() {
inline fun bar() = FIELD
}
fun box() = B().bar()