[IR] dumpKotlinLike: add testdata for FIR tests

This commit is contained in:
Zalim Bashorov
2020-11-20 18:18:14 +03:00
committed by teamcityserver
parent d7bd4240e1
commit c68040753d
298 changed files with 12186 additions and 0 deletions
@@ -0,0 +1,32 @@
open class Base {
constructor(f1: Function0<Any>) /* primary */ {
super/*Any*/()
/* <init>() */
}
val f1: Function0<Any>
field = f1
get
}
object Thing : Base {
private constructor() /* primary */ {
super/*Base*/(f1 = local fun <anonymous>(): Any {
return Thing
}
)
/* <init>() */
}
fun test1(): Thing {
return Thing
}
fun test2(): Thing {
return <this>
}
}