Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/contextReceivers/property.kt
T
2021-12-02 20:24:26 +03:00

14 lines
216 B
Kotlin
Vendored

// !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JVM
interface A {
fun a(): Int
}
interface B {
fun b(): Int
}
context(A, B)
val c get() = a() + b()