blob: 32d9a55dc67ff5679e974fae9bcdc84f922f3b78 [file]
// WITH_STDLIB
import kotlin.test.*
class Outer {
inner class Inner<T>(val t: T) {
fun box() = t
}
}
fun box(): String {
if (Outer().Inner("OK").box() != "OK") return "Fail"
val x: Outer.Inner<String> = Outer().Inner("OK")
return x.box()
}