[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,24 @@
fun test1(): Runnable {
return local fun <anonymous>() {
return Unit
}
/*-> Runnable */
}
fun test2(a: Function0<Unit>): Runnable {
return a /*-> Runnable */
}
fun foo() {
}
fun test3(): Runnable {
return ::foo /*-> Runnable */
}
fun test4(): Comparator<Int?> {
return local fun <anonymous>(a: Int?, b: Int?): Int {
return a.minus(other = b /*!! Int */)
}
/*-> Comparator<Int?> */
}