blob: f5917ba2ab85cf259b993a6d1d121a38cb649c59 [file]
// WITH_STDLIB
// TARGET_BACKEND: JVM
object Test {
fun test() = { createWildcard("OK") }.let { it() }
@JvmStatic
private fun createWildcard(s: String) = Type<Any>(s).x
class Type<T>(val x: String)
}
fun box() = Test.test()