tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
open class A {
|
||||
open fun foo() = "FAIL"
|
||||
|
||||
fun bar() = if (this is C) foo() else foo()
|
||||
}
|
||||
|
||||
open class B : A()
|
||||
|
||||
open class C : B() {
|
||||
override fun foo() = "OK"
|
||||
}
|
||||
|
||||
fun box() = C().bar()
|
||||
Reference in New Issue
Block a user