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"
}