Files
kotlin/compiler/testData/codegen/box/classes/classObjectInTrait.kt
2019-11-19 11:00:09 +03:00

14 lines
242 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// EA-38323 - Illegal field modifiers in class: classObject field in C must be static and final
interface C {
companion object {
public val FOO: String = "OK"
}
}
fun box(): String {
return C.FOO
}