[SLC] add test on single target annotation

^KT-56728
This commit is contained in:
Dmitrii Gridin
2023-02-16 13:11:12 +01:00
committed by Space Team
parent 0e03fc265e
commit e65c863f8c
4 changed files with 28 additions and 0 deletions
@@ -0,0 +1,11 @@
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.FIELD})
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.FIELD})
public abstract @interface TestAnn2 /* TestAnn2*/ {
}
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE})
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.CLASS})
public abstract @interface TestRoot /* TestRoot*/ {
}