[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,40 @@
abstract enum class X : Enum<X> {
private constructor() /* primary */ {
super/*Enum*/<X>()
/* <init>() */
}
B = B()
private enum entry class B : X {
private constructor() /* primary */ {
super/*X*/()
/* <init>() */
}
val value2: String
field = "OK"
get
override val value: Function0<String>
field = local fun <anonymous>(): String {
return <this>.<get-value2>()
}
override get
}
abstract val value: Function0<String>
abstract get
fun values(): Array<X> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): X /* Synthetic body for ENUM_VALUEOF */
}
fun box(): String {
return X.B.<get-value>().invoke()
}