[LL FIR] add tests for nested class as annotation argument
^KT-62587
This commit is contained in:
committed by
Space Team
parent
5298d79dec
commit
bbd09c6272
+12
@@ -0,0 +1,12 @@
|
||||
// FIR_IDENTICAL
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE)
|
||||
annotation class Special(val why: KClass<*>)
|
||||
|
||||
interface Interface
|
||||
|
||||
object Outer {
|
||||
@Special(Nested::class)
|
||||
object Nested : @Special(Nested::class) Interface
|
||||
}
|
||||
Reference in New Issue
Block a user