Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/contextReceivers/property.kt
T
Alexander Udalov f0fba7be64 K2: add bytecode listing tests
#KT-57171 Fixed
2023-03-14 21:57:26 +01:00

13 lines
164 B
Kotlin
Vendored

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