added test for KT-232
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
class A() {
|
||||||
|
fun foo() {
|
||||||
|
System.out?.println(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box() : String {
|
||||||
|
val a : A = A()
|
||||||
|
return "OK"
|
||||||
|
}
|
||||||
@@ -8,4 +8,8 @@ public class SafeRefTest extends CodegenTestCase {
|
|||||||
public void test245 () throws Exception {
|
public void test245 () throws Exception {
|
||||||
blackBoxFile("regressions/kt245.jet");
|
blackBoxFile("regressions/kt245.jet");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void test232 () throws Exception {
|
||||||
|
blackBoxFile("regressions/kt232.jet");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user