Files
kotlin-fork/compiler/testData/cli/jvm/conflictingJvmDeclarations.kt
T
2022-10-17 12:46:23 +00:00

10 lines
156 B
Kotlin
Vendored

class Foo {
val x: Int
get() = 42
@Suppress("CONFLICTING_JVM_DECLARATIONS")
fun getX() = 42
@JvmName("getX")
fun getY() = 42
}