[test] Move irText tests from fir2ir/testData to compiler/testData

Let's store them conveniently in one place!
This commit is contained in:
Sergej Jaskiewicz
2023-03-09 18:48:37 +01:00
committed by Space Team
parent c1ea3e7b53
commit ebafdd3af0
24 changed files with 179 additions and 177 deletions
@@ -0,0 +1,34 @@
class A {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
val a: Int
field = 1
get
val b: Int
field = <this>.<get-a>().plus(other = 2)
get
val c: Int
field = 1
get
val d: Int
field = <this>.<get-c>().plus(other = 2)
get
fun rest() {
val aI: Int = A().<get-a>().plus(other = 10)
val bI: Int = A().<get-b>().plus(other = 20)
}
}
fun test() {
val bA: Int = A().<get-b>().plus(other = 20)
}