[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
interface A
|
||||
|
||||
interface B : A
|
||||
|
||||
interface C
|
||||
|
||||
interface D : B, C
|
||||
|
||||
fun B.foo(): Int = 1
|
||||
fun <T> T.foo(): String where T : A, T : C = ""
|
||||
|
||||
fun takeInt(x: Int) {}
|
||||
|
||||
fun test(d: D) {
|
||||
val x = d.foo()
|
||||
takeInt(x)
|
||||
}
|
||||
Reference in New Issue
Block a user