Files
kotlin-fork/compiler/testData/ir/irText/properties/backingField/backingFieldVisibility.kt
T
Sergej Jaskiewicz ebafdd3af0 [test] Move irText tests from fir2ir/testData to compiler/testData
Let's store them conveniently in one place!
2023-03-22 15:18:15 +00:00

22 lines
277 B
Kotlin
Vendored

// FIR_IDENTICAL
class A {
val a: Number
private field = 1
val b: Number
internal field = a + 2
val c = 1
val d = c + 2
fun rest() {
val aI = A().a + 10
val bI = A().b + 20
}
}
fun test() {
val bA = A().b + 20
}