Files
kotlin/compiler/testData/codegen/box/objects/kt1047.kt
2016-11-09 21:41:12 +03:00

17 lines
335 B
Kotlin
Vendored

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
public open class Test() {
open public fun test() : Unit {
System.out?.println(hello)
}
companion object {
private val hello : String? = "Hello"
}
}
fun box() : String {
Test().test()
return "OK"
}