33e6a85a2d
We exclude testData pattern from copyright scope
12 lines
198 B
Kotlin
Vendored
12 lines
198 B
Kotlin
Vendored
package test
|
|
|
|
class B(val n: Int) {
|
|
operator fun set(i: Int, a: B) {}
|
|
operator fun get(i: Int) : B {}
|
|
operator fun inc() : B {}
|
|
}
|
|
|
|
fun test() {
|
|
var a = B(1)
|
|
<expr>a[2]</expr>++
|
|
} |