[IR] add testdata for irJsText

This commit is contained in:
Zalim Bashorov
2020-11-10 15:50:58 +03:00
committed by teamcityserver
parent 68b17fe55b
commit cdc74304c7
27 changed files with 516 additions and 0 deletions
@@ -0,0 +1,21 @@
fun test1(d: dynamic): dynamic {
return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */
}
fun test2(d: dynamic): dynamic {
return { // BLOCK
val tmp0_safe_receiver: dynamic = d
when {
EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null
true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */
}
}
}
fun test3(d: dynamic): dynamic {
return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */
}