[IR] add new testdata after rebase

This commit is contained in:
Zalim Bashorov
2020-11-05 23:27:41 +03:00
committed by teamcityserver
parent 3b1a6389ab
commit a5b224fda1
33 changed files with 1493 additions and 0 deletions
@@ -0,0 +1,60 @@
fun box(): String {
val obj: <no name provided> = { //BLOCK
local class <no name provided> {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
val end: String
field = "K"
get
fun foo(): String {
return TODO("IrConstructorCall").bar()
}
local inner class Some : Base {
constructor(s: String) /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
fun bar(): String {
return <this>.<get-s>().plus(other = <this>.<get-end>())
}
}
local open inner class Base {
constructor(s: String) /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
val s: String
field = s
get
}
}
TODO("IrConstructorCall")
}
return obj.foo()
}