ebb9659e03
Currently JVM IR is not supported in kapt, so almost all tests are failing, and thus are muted with IGNORE_BACKEND. #KT-49682
48 lines
755 B
Kotlin
Vendored
48 lines
755 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
|
|
class Test {
|
|
private val foo = Example.FOO
|
|
|
|
companion object {
|
|
enum class Example { FOO }
|
|
}
|
|
}
|
|
|
|
class Test2 {
|
|
private val foo = Example.FOO
|
|
|
|
companion object Amigo {
|
|
enum class Example { FOO }
|
|
}
|
|
}
|
|
|
|
class Test3 {
|
|
private val foo = Amigo.Example.FOO
|
|
|
|
object Amigo {
|
|
enum class Example { FOO }
|
|
}
|
|
}
|
|
|
|
class Test4 {
|
|
private val foo = Foo.constProperty
|
|
|
|
companion object {
|
|
object Foo {
|
|
const val constProperty = 1
|
|
}
|
|
}
|
|
}
|
|
|
|
class Test5 {
|
|
private val foo = Amigos.Companion.Goo.Example.FOO
|
|
|
|
class Amigos {
|
|
companion object {
|
|
class Goo {
|
|
enum class Example { FOO }
|
|
}
|
|
}
|
|
}
|
|
}
|