[IR] add JsTextTest for IrScript

This commit is contained in:
Vitaliy.Tikhonov
2019-08-30 14:41:54 +03:00
committed by romanart
parent 209a20153e
commit cf5a1615ea
11 changed files with 383 additions and 3 deletions
@@ -0,0 +1,10 @@
fun test() {
val x = intArrayOf(1, 2, 3)
x[1] = 0
}
fun foo() = 1
fun test2() {
intArrayOf(1, 2, 3)[foo()] = 1
}