mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
18 lines
350 B
Kotlin
18 lines
350 B
Kotlin
fun fn(arr: ByteArray, mt: C) {
|
|
arr[1]
|
|
arr[1, 2]
|
|
mt[1, 2]
|
|
|
|
arr[1, 2] = 3
|
|
arr[1] = C()
|
|
}
|
|
|
|
public operator fun ByteArray.get(i: Int, j: Int) = ""
|
|
public operator fun ByteArray.set(i: Int, j: Int, k: Int) = ""
|
|
public operator fun ByteArray.set(i: Int, c: C) = ""
|
|
|
|
|
|
public class C {
|
|
public operator fun get(i: Int, j: Int) = ""
|
|
}
|