KT-725 test for obsolete issue

This commit is contained in:
Alex Tkachman
2012-02-17 09:12:48 -05:00
parent 082fdebaae
commit fac424c574
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,8 @@
fun Int?.inc() = this.sure().inc()
public fun box() : String {
var i : Int? = 10
val j = i++
return if(j==10 && 11 == i) "OK" else "fail"
}