Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/converter/jvmStatic.kt
T
Alexander Udalov ebb9659e03 Add mode to run kapt with JVM IR, use in tests
Currently JVM IR is not supported in kapt, so almost all tests are
failing, and thus are muted with IGNORE_BACKEND.

 #KT-49682
2022-02-08 20:15:13 +01:00

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"
}
}