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