9a4a3d1f49
^KT-56543 Merge-request: KT-MR-9299 Merged-by: Dmitrii Gridin <dmitry.gridin@jetbrains.com>
26 lines
574 B
Kotlin
Vendored
26 lines
574 B
Kotlin
Vendored
// IGNORE_REVERSED_RESOLVE
|
|
// FIR_IDENTICAL
|
|
// !LANGUAGE: +NestedClassesInAnnotations
|
|
|
|
annotation class Foo {
|
|
class Nested
|
|
|
|
<!WRONG_MODIFIER_CONTAINING_DECLARATION!>inner<!> class Inner
|
|
|
|
enum class E { A, B }
|
|
object O
|
|
interface I
|
|
annotation class Anno(val e: E)
|
|
|
|
companion object {
|
|
val x = 1
|
|
const val y = ""
|
|
}
|
|
|
|
|
|
<!ANNOTATION_CLASS_MEMBER!>constructor(s: Int) {}<!>
|
|
<!ANNOTATION_CLASS_MEMBER!>init {}<!>
|
|
<!ANNOTATION_CLASS_MEMBER!>fun function() {}<!>
|
|
<!ANNOTATION_CLASS_MEMBER!>val property get() = Unit<!>
|
|
}
|