Minor, move enum diagnostic tests, add another test
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
enum class E {
|
||||
E1
|
||||
E2
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
var <!ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE!>e<!> = E.E1
|
||||
e = <!UNUSED_VALUE!>E.E2<!>
|
||||
}
|
||||
Reference in New Issue
Block a user