enum class A { ONE TWO } fun A.invoke(i: Int) = i fun box() = if (A.ONE(42) == 42) "OK" else "fail"