[LL FIR] add tests for nested class as annotation argument

^KT-62587
This commit is contained in:
Dmitrii Gridin
2023-10-13 19:06:11 +02:00
committed by Space Team
parent 5298d79dec
commit bbd09c6272
32 changed files with 2512 additions and 0 deletions
@@ -0,0 +1,15 @@
// LL_FIR_DIVERGENCE
// KT-62587
// LL_FIR_DIVERGENCE
// FIR_IDENTICAL
import kotlin.reflect.KClass
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE)
annotation class Special(val why: KClass<*>)
interface Interface
object Outer {
@Special(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!><!UNRESOLVED_REFERENCE!>Nested<!>::class<!>)
object Nested : @Special(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!><!UNRESOLVED_REFERENCE!>Nested<!>::class<!>) Interface
}