[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
open class C {
|
||||
}
|
||||
|
||||
fun C.foo() {}
|
||||
|
||||
open class X {
|
||||
companion object : C() {}
|
||||
}
|
||||
|
||||
open class Y {
|
||||
companion object : C() {}
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
val x = X
|
||||
x.foo()
|
||||
X.foo()
|
||||
(X as C).foo()
|
||||
((if (1<2) X else Y) as C).foo()
|
||||
}
|
||||
Reference in New Issue
Block a user