12 lines
186 B
Kotlin
Vendored
12 lines
186 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
@JvmInline
|
|
value class Foo<T>(val x: Int)
|
|
|
|
class Bar(val y: Foo<Any>)
|
|
|
|
fun box(): String {
|
|
if (Bar(Foo<Any>(42)).y.x != 42) throw AssertionError()
|
|
|
|
return "OK"
|
|
} |