KT-725 test for obsolete issue
This commit is contained in:
@@ -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"
|
||||||
|
}
|
||||||
@@ -289,4 +289,8 @@ public class ClassGenTest extends CodegenTestCase {
|
|||||||
public void testKt723() throws Exception {
|
public void testKt723() throws Exception {
|
||||||
blackBoxFile("regressions/kt723.kt");
|
blackBoxFile("regressions/kt723.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testKt725() throws Exception {
|
||||||
|
blackBoxFile("regressions/kt725.kt");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user