added test for KT-232

This commit is contained in:
Alex Tkachman
2011-08-31 14:16:09 +02:00
parent 38146e1600
commit 778ba44c64
2 changed files with 14 additions and 0 deletions
@@ -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 {
blackBoxFile("regressions/kt245.jet");
}
public void test232 () throws Exception {
blackBoxFile("regressions/kt232.jet");
}
}