KT-1047 - obsolete. test added

This commit is contained in:
Alex Tkachman
2012-02-11 11:48:50 +02:00
parent 8d9434548f
commit d81ca43b6e
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,13 @@
public open class Test() {
open public fun test() : Unit {
System.out?.println(hello)
}
class object {
private val hello : String? = "Hello"
}
}
fun box() : String {
Test().test()
return "OK"
}
@@ -34,4 +34,8 @@ public class ObjectGenTest extends CodegenTestCase {
public void testKt1136() throws Exception {
blackBoxFile("regressions/kt1136.kt");
}
public void testKt1047() throws Exception {
blackBoxFile("regressions/kt1047.kt");
}
}