blob: 2f7a94c532eeec94e62d1947a748ddfdd594d764 [file] [log] [blame]
operator fun Int?.inc(): Int? = this
fun init(): Int? { return 10 }
fun box() : String {
var i : Int? = init()
val j = i++
return if (j == 10 && 10 == i) "OK" else "fail i = $i j = $j"
}