Files
kotlin/compiler/testData/codegen/boxWithJava/properties/annotationWithKotlinProperty/kotlinClass.kt

12 lines
232 B
Kotlin

class KotlinClass {
companion object {
val FOO_INT: Int = 10
val FOO_STRING: String = "OK"
}
}
fun box(): String {
val test = JavaClass().test()
return if (test == "OK10") "OK" else "fail : $test"
}