Files
kotlin/compiler/testData/compileJavaAgainstKotlin/jvmStatic/simpleObjectProperty.kt
Alexander Udalov 8e77e16bbd Remove leftovers of platformName and platformStatic in test data
Drop unnecessary imports, rename some tests
2016-03-02 16:47:04 +03:00

18 lines
248 B
Kotlin
Vendored

package test
object A {
@JvmStatic val b: String = "OK"
var A.c: String
@JvmStatic get() = "OK"
@JvmStatic set(t: String) {}
}
fun main(args: Array<String>) {
A.b
with(A) {
A.c
A.c = "123"
}
}