ac480e2285
#KT-57611 Fixed
27 lines
595 B
Kotlin
Vendored
27 lines
595 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
// TARGET_BACKEND: JS_IR
|
|
// TARGET_BACKEND: NATIVE
|
|
|
|
// MODULE: lib
|
|
// FILE: lib.kt
|
|
|
|
@Target(AnnotationTarget.CLASS)
|
|
@Retention(AnnotationRetention.BINARY)
|
|
annotation class AnnotationWithVararg(vararg val array: String)
|
|
|
|
@Target(AnnotationTarget.CLASS)
|
|
@Retention(AnnotationRetention.BINARY)
|
|
annotation class AnnotationWithArray(val array: Array<String>)
|
|
|
|
@AnnotationWithVararg("Str" + "ing", "String2", "String${3}")
|
|
class A
|
|
|
|
@AnnotationWithArray(["Str" + "ing", "String2", "String${3}"])
|
|
class B
|
|
|
|
// MODULE: main
|
|
// FILE: main.kt
|
|
|
|
fun box(): String {
|
|
return "OK"
|
|
} |