Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
callableReference
/
kt21092b.kt
blob: 7b29bbc3bca10bc421fd1ca1f8ca68a774482353 [
file
] [
log
] [
blame
]
// TARGET_BACKEND: JVM
// IGNORE_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"
}