Files
kotlin/compiler/testData/compileJavaAgainstKotlin/property/ConstVal.kt
Denis Zharkov d937a7cefc Generate field for const-val with same visibility as desciptor
Also add test checking that constant static final fields generated for them
2015-09-23 08:20:57 +03:00

17 lines
256 B
Kotlin
Vendored

@file:JvmName("ABC")
package test;
public const val TOP_LEVEL = "O"
public object A {
public const val OBJECT = "K"
}
public class B {
companion object {
public const val COMPANION = "56"
}
}
annotation class Ann(val value: String)