[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
interface A {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
abstract class B : A {
|
||||
override fun foo() {}
|
||||
}
|
||||
|
||||
interface C : A {}
|
||||
|
||||
fun main(c: C) {
|
||||
if (c !is B) return
|
||||
c.foo()
|
||||
}
|
||||
Reference in New Issue
Block a user