mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
18 lines
390 B
Kotlin
Vendored
18 lines
390 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM, JS, NATIVE
|
|
|
|
// Here we check that there is compilation error, so ignore_backend directive is actual
|
|
|
|
@Target(AnnotationTarget.FIELD, AnnotationTarget.CLASS)
|
|
annotation class Anno
|
|
|
|
class UnresolvedArgument(@Anno(BLA) val s: Int)
|
|
|
|
class WithoutArguments(@Deprecated val s: Int)
|
|
|
|
fun box(): String {
|
|
UnresolvedArgument(3)
|
|
WithoutArguments(0)
|
|
|
|
return "OK"
|
|
}
|