Files
kotlin-fork/compiler/testData/ir/irText/expressions/arrayAccess.kt
T
2024-01-30 14:26:10 +00:00

7 lines
97 B
Kotlin
Vendored

// FIR_IDENTICAL
val p = 0
fun foo() = 1
fun test(a: IntArray) =
a[0] + a[p] + a[foo()]