mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
12 lines
205 B
Kotlin
Vendored
12 lines
205 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
@Target(AnnotationTarget.FIELD)
|
|
annotation class Anno
|
|
|
|
data class C(val x: Int) {
|
|
@Anno
|
|
val json: String = ""
|
|
get() = field
|
|
|
|
fun copy() = this.also { json }
|
|
}
|