Files
kotlin-fork/compiler/testData/codegen/box/jvmStatic/kt21246a.kt
T

15 lines
235 B
Kotlin
Vendored

// WITH_RUNTIME
// 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()