KT-1047 - obsolete. test added
This commit is contained in:
@@ -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 {
|
public void testKt1136() throws Exception {
|
||||||
blackBoxFile("regressions/kt1136.kt");
|
blackBoxFile("regressions/kt1136.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testKt1047() throws Exception {
|
||||||
|
blackBoxFile("regressions/kt1047.kt");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user