// KT-7753: attempt to call enum constructor explicitly enum class A(val c: Int) { // No errors at both places, but warnings about deprecated ONE: A(1), TWO: A(2); fun getA(): A { return ONE } }