[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
//KT-1193 Check enum entry supertype / initialization
|
||||
|
||||
package kt1193
|
||||
|
||||
enum class MyEnum(val i: Int) {
|
||||
A(12),
|
||||
B //no error
|
||||
}
|
||||
|
||||
open class A(x: Int = 1)
|
||||
|
||||
val x: MyEnum = MyEnum.A
|
||||
Reference in New Issue
Block a user