Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
box
/
callableReference
/
kt21092b.kt
blob: 96593e9621c8b101e85e9761c7e4c8075f14b53c [
file
] [
log
] [
blame
]
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM
// WITH_RUNTIME
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"
}