Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
box
/
extensionClasses
/
simple.kt
blob: db2ec19061e713421abe89ae30f4067c3749c514 [
file
]
// LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR
class
A
{
val ok
=
"OK"
}
context
(
A
)
class
B
{
fun result
()
=
ok
}
fun box
()
=
with
(
A
())
{
B
().
result
()
}