Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/privateCompanionFields.kt
T
2020-10-29 17:19:49 +01:00

32 lines
498 B
Kotlin
Vendored

// WITH_RUNTIME
class TestClass {
private companion object {
@JvmField
var test: String = "1"
@JvmField
@java.lang.Deprecated
var test2: String = "2"
@JvmField
val test3: String = "3"
const val testConst = 1
}
}
interface TestConst {
private companion object {
const val testConst = 1
}
}
interface TestJvmField {
private companion object {
@JvmField
val test3: String = "3"
}
}