blob: 5a75c163fa2f3dc0f55e2bfa5e76d206f258dccb [file] [log] [blame]
class MyClass
operator fun MyClass?.inc(): MyClass? = null
fun box() : String {
var i : MyClass?
i = MyClass()
val j = ++i
return if (j == null && null == i) "OK" else "fail i = $i j = $j"
}