Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1fbe2c8085532ef2fa66bf26fdf2b04c5cca97
/
.
/
compiler
/
testData
/
codegen
/
box
/
contextParameters
/
kt51277.kt
blob: 0640232ea8eeb0f1004520f7454a4e8bd5d7e48d [
file
]
// LANGUAGE: +ContextParameters
// IGNORE_BACKEND_K1: ANY
class
C
<
T
>
{
fun foo
()
=
1
}
context
(
c
:
C
<*>)
fun test
()
=
c
.
foo
()
fun box
():
String
{
with
(
C
<
Int
>())
{
test
()
}
return
"OK"
}