[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// KT-7753: attempt to call enum constructor explicitly
|
||||
enum class A(val c: Int) {
|
||||
ONE(1) {
|
||||
override fun selfOrFriend(): A {
|
||||
return this
|
||||
}
|
||||
},
|
||||
TWO(2) {
|
||||
override fun selfOrFriend(): A {
|
||||
return A(42)
|
||||
}
|
||||
};
|
||||
|
||||
abstract fun selfOrFriend(): A
|
||||
}
|
||||
Reference in New Issue
Block a user