tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
operator fun Int?.inc(): Int? = this
|
||||
|
||||
fun init(): Int? { return 10 }
|
||||
|
||||
public fun box() : String {
|
||||
var i : Int? = init()
|
||||
val j = i++
|
||||
|
||||
return if (j == 10 && 10 == i) "OK" else "fail i = $i j = $j"
|
||||
}
|
||||
Reference in New Issue
Block a user