Files
kotlin-fork/compiler/testData/writeFlags/jvm8/defaults/propertyAnnotation.kt
T
Alexander Udalov e3c381a298 Remove API_VERSION 1.3 from tests on JvmDefault
So that these tests will now check behavior on the latest API version
2018-12-20 12:53:23 +01:00

23 lines
470 B
Kotlin
Vendored

// !JVM_DEFAULT_MODE: enable
// JVM_TARGET: 1.8
// WITH_RUNTIME
annotation class Property(val value: String)
interface Test {
@Property("OK")
@JvmDefault
val test: String
get() = "OK"
fun stub() {}
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: Test, test$annotations
// ABSENT: TRUE
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: Test$DefaultImpls, test$annotations
// FLAGS: ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC, ACC_DEPRECATED