[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// FILE: enum.kt
|
||||
|
||||
package enum
|
||||
|
||||
enum class HappyEnum {
|
||||
CASE1,
|
||||
CASE2
|
||||
}
|
||||
|
||||
// FILE: user.kt
|
||||
|
||||
import enum.HappyEnum
|
||||
import enum.HappyEnum.*
|
||||
|
||||
fun f(e: HappyEnum) {
|
||||
when (e) {
|
||||
CASE1 -> throw UnsupportedOperationException() // unresolved reference
|
||||
CASE2 -> throw UnsupportedOperationException() // unresolved references
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user