blob: 6d6be207813a7073ab9e44c8b50661dd98dbe6f9 [file] [log] [blame]
// TARGET_BACKEND: JVM
// IGNORE_BACKEND_FIR: JVM_IR
package test
enum class KEnum { A }
fun test(e: KEnum): String {
return e.declaringClass.toString()
}
fun box(): String {
val result = test(KEnum.A)
return if (result == "class test.KEnum") "OK" else "fail: $result"
}