Merge K2 bytecodeListing tests to main bytecodeListing tests

This commit is contained in:
Alexander Udalov
2023-03-22 23:09:44 +01:00
committed by Space Team
parent 68dd89c593
commit 14c2030595
11 changed files with 125 additions and 150 deletions
@@ -0,0 +1,11 @@
// MODULE: lib
// FILE: 1.kt
interface I {
fun foo(x: (suspend () -> Unit)?): (suspend () -> Unit)?
}
// MODULE: main(lib)
// FILE: 2.kt
class C : I {
override fun foo(x: (suspend () -> Unit)?) = x
}