blob: dd124126e318748337761adac3da0c5516b69911 [file]
// TARGET_BACKEND: JVM
// WITH_STDLIB
class A<T>(val b: T)
fun box(): String {
val test = A(1).b::javaClass.get().simpleName
if (test != "Integer") throw Exception("test: $test")
return "OK"
}