ebb9659e03
Currently JVM IR is not supported in kapt, so almost all tests are failing, and thus are muted with IGNORE_BACKEND. #KT-49682
23 lines
375 B
Kotlin
Vendored
23 lines
375 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
|
|
class JvmStaticTest {
|
|
companion object {
|
|
@JvmStatic
|
|
val one = 1
|
|
|
|
const val two = 2
|
|
|
|
const val c: Char = 'C'
|
|
}
|
|
|
|
const val three: Byte = 3.toByte()
|
|
const val d: Char = 'D'
|
|
}
|
|
|
|
interface FooComponent {
|
|
companion object {
|
|
@JvmStatic
|
|
fun create(context: String): String = "foo"
|
|
}
|
|
}
|