tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
object A {
|
||||
operator fun get(i: Int) = 1
|
||||
operator fun set(i: Int, j: Int) {}
|
||||
operator fun set(i: Int, x: Any) { throw Exception() }
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
A[0]++
|
||||
A[0] += 1
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user