[IR] add testdata for dumpKotlinLike

This commit is contained in:
Zalim Bashorov
2020-11-05 02:47:53 +03:00
committed by teamcityserver
parent d2022ab115
commit 8d5facb15f
365 changed files with 15516 additions and 0 deletions
@@ -0,0 +1,46 @@
class A {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
fun foo() {
}
}
fun bar() {
}
val qux: Int
field = 1
get
val test1: KClass<A>
field = A::class
get
val test2: KClass<out Int>
field = <get-qux>()::class
get
val test3: KFunction1<A, Unit>
field = ::foo
get
val test4: KFunction0<A>
field = ::<init>
get
val test5: KFunction0<Unit>
field = ::foo
get
val test6: KFunction0<Unit>
field = ::bar
get