JVM IR: (Un)mute tests and add more tests for bridge generation
This commit is contained in:
committed by
Georgy Bronnikov
parent
12e31a1760
commit
5f6af58aeb
+22
@@ -0,0 +1,22 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
var result = "Fail"
|
||||
|
||||
interface A<T> {
|
||||
fun f(x: T) {
|
||||
result = x.toString()
|
||||
}
|
||||
}
|
||||
|
||||
abstract class B1<T> : A<T>
|
||||
|
||||
interface B2 {
|
||||
fun f(x: String)
|
||||
}
|
||||
|
||||
class C : B1<String>(), B2
|
||||
|
||||
fun box(): String {
|
||||
(C() as B2).f("OK")
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user