blob: bf89285e2f9eebdfab62c798fec3537e83ea789e [file]
// IGNORE_BACKEND_FIR: JVM_IR
enum class Foo(
val x: String,
val callback: () -> String
) {
FOO("OK", { FOO.x })
}
fun box() = Foo.FOO.callback()