[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
enum class TestOk(val x: String = "OK") {
|
||||
TEST1,
|
||||
TEST2(),
|
||||
TEST3("Hello")
|
||||
}
|
||||
|
||||
enum class TestErrors(val x: String) {
|
||||
TEST1,
|
||||
TEST2<!INAPPLICABLE_CANDIDATE!><!>(),
|
||||
TEST3("Hello")
|
||||
}
|
||||
|
||||
enum class TestMultipleConstructors(val x: String = "", val y: Int = 0) {
|
||||
TEST;
|
||||
constructor(x: String = "") : this(x, 0)
|
||||
}
|
||||
|
||||
enum class TestVarargs(val x: Int) {
|
||||
TEST;
|
||||
constructor(vararg xs: Any) : this(xs.size)
|
||||
}
|
||||
Reference in New Issue
Block a user