mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 00:21:35 +00:00
14 lines
242 B
Kotlin
Vendored
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
|
|
}
|
|
|