[AA] Add additional tests for declared member scopes and member scopes

^KT-61800
This commit is contained in:
Marco Pennekamp
2023-09-13 21:07:23 +02:00
committed by Space Team
parent dc689952cb
commit c2d08b9462
25 changed files with 1698 additions and 0 deletions
@@ -0,0 +1,31 @@
package test
abstract class A {
fun perform() { }
val x: Int = 0
class C1
object O1
companion object {
val y: Int = 0
}
}
class C : A() {
fun foo(): Int = 5
val bar: String = ""
class C2
object O2
companion object {
val baz: String = ""
}
}
// class: test/C