Files
kotlin-fork/compiler/testData/codegen/box/reflection/enclosing/localClassInTopLevelFunction.kt
T

15 lines
222 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_REFLECT
// KT-4234
fun box(): String {
class C
val name = C::class.java.getSimpleName()
if (name != "box\$C") return "Fail: $name"
return "OK"
}