mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
15 lines
241 B
Kotlin
Vendored
15 lines
241 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// TARGET_BACKEND: JVM
|
|
|
|
// WITH_REFLECT
|
|
// KT-4234
|
|
|
|
fun box(): String {
|
|
class C
|
|
|
|
val name = C::class.java.getSimpleName()
|
|
if (name != "box\$C" && name != "C") return "Fail: $name"
|
|
|
|
return "OK"
|
|
}
|