mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
17 lines
335 B
Kotlin
Vendored
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"
|
|
}
|