[Tests] Add bytecodeListing tests
This commit is contained in:
committed by
TeamCityServer
parent
f05ca5be33
commit
6cd50bc438
@@ -0,0 +1,19 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
class C {
|
||||
val c = 42
|
||||
}
|
||||
|
||||
context(C)
|
||||
fun foo() {
|
||||
c
|
||||
}
|
||||
|
||||
fun bar(c: C) {
|
||||
with(c) {
|
||||
foo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user