mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
31 lines
737 B
Kotlin
Vendored
31 lines
737 B
Kotlin
Vendored
// !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm
|
|
// IGNORE_BACKEND: JVM_IR
|
|
// WITH_RUNTIME
|
|
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
inline var prop: String
|
|
get() = "12"
|
|
set(value) {}
|
|
|
|
inline var prop2: String
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
get() = "12"
|
|
set(value) {}
|
|
|
|
|
|
class Foo {
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
inline var prop: String
|
|
get() = "12"
|
|
set(value) {}
|
|
|
|
inline var prop2: String
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
get() = "12"
|
|
set(value) {}
|
|
}
|