[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
// !LANGUAGE: -ProhibitVisibilityOfNestedClassifiersFromSupertypesOfCompanion
|
||||
|
||||
open class A {
|
||||
inner class B {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
inner class D
|
||||
|
||||
companion object {
|
||||
class B {
|
||||
fun bar() {}
|
||||
}
|
||||
|
||||
class C
|
||||
}
|
||||
|
||||
init {
|
||||
B().foo()
|
||||
B().<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
|
||||
D()
|
||||
C()
|
||||
}
|
||||
}
|
||||
|
||||
class E: A() {
|
||||
init {
|
||||
B().foo()
|
||||
B().<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
|
||||
D()
|
||||
C()
|
||||
}
|
||||
|
||||
object Z {
|
||||
init {
|
||||
B().foo()
|
||||
B().<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
|
||||
D()
|
||||
C()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class F: A() {
|
||||
class B {
|
||||
fun fas() {}
|
||||
}
|
||||
inner class D {
|
||||
fun f() {}
|
||||
}
|
||||
|
||||
init {
|
||||
B().fas()
|
||||
D().f()
|
||||
}
|
||||
|
||||
companion object {
|
||||
init {
|
||||
B().fas()
|
||||
D().f()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user