[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
interface A
|
||||
interface B : A
|
||||
|
||||
fun foo1(a: A, b: B): Boolean {
|
||||
val result = (a as B) == b
|
||||
checkSubtype<B>(a)
|
||||
return result
|
||||
}
|
||||
|
||||
fun foo2(a: A, b: B): Boolean {
|
||||
val result = b == (a as B)
|
||||
checkSubtype<B>(a)
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user