[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,50 @@
interface CPointed {
}
inline fun <reified T : CPointed> CPointed.reinterpret(): T {
TODO()
}
class CInt32VarX<T : Any?> : CPointed {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
}
typealias CInt32Var = CInt32VarX<Int>
var <T_INT : Int> CInt32VarX<T_INT>.value: T_INT
get(): T_INT {
TODO()
}
set(value: T_INT) {
}
class IdType : CPointed {
constructor(value: Int) /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
val value: Int
field = value
get
}
fun foo(value: IdType, cv: CInt32VarX<Int>) {
<set-value><Int>($receiver = cv, value = value.<get-value>())
}