Files
kotlin-fork/compiler/testData/compileKotlinAgainstKotlin/jvmStaticInObject.kt
T
Alexander Udalov 9f67fe2fe3 Adapt CompileKotlinAgainstKotlin test to black box format
Rename/remove some obsolete test cases
2016-03-02 15:47:35 +03:00

17 lines
197 B
Kotlin
Vendored

// FILE: A.kt
package aaa
import kotlin.jvm.*
public object TestObject {
@JvmStatic
public val test: String = "OK"
}
// FILE: B.kt
fun box(): String {
return aaa.TestObject.test
}