summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt
blob: a2f011058fa9130576b595618af293c89d5d8723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
import Foo.*

enum class Foo {
    A, B, C
}

class Test {
    fun foo(e: Foo) {
        when<caret> (e) {
            A, Foo.B -> TODO()
        }
    }
}
/* IGNORE_FIR */