15 lines
260 B
Kotlin
Vendored
15 lines
260 B
Kotlin
Vendored
// IGNORE_BACKEND: WASM
|
|
// WASM_MUTE_REASON: CLASS_REFERENCES
|
|
class Generic<P : Any>(val p: P)
|
|
|
|
class Host {
|
|
fun t() {}
|
|
val v = "OK"
|
|
}
|
|
|
|
fun box(): String {
|
|
Generic(Host()).p::class
|
|
(Generic(Host()).p::t)()
|
|
return (Generic(Host()).p::v)()
|
|
}
|