[Test] Migrate AbstractExtendedFirDiagnosticsTest to new infrastructure
This commit is contained in:
committed by
TeamCityServer
parent
a276d05917
commit
298e27bdac
+19
@@ -0,0 +1,19 @@
|
||||
fun foo() {
|
||||
<!CAN_BE_VAL{LT}!><!CAN_BE_VAL{PSI}!>var<!> a = 1<!>
|
||||
var b = <!VARIABLE_INITIALIZER_IS_REDUNDANT!>2<!>
|
||||
var c = 3
|
||||
|
||||
for (i in 0..5) {
|
||||
if (a == 2) {
|
||||
<!ASSIGNED_VALUE_IS_NEVER_READ!>b<!> = c
|
||||
c = a
|
||||
} else {
|
||||
b = a
|
||||
c = b
|
||||
}
|
||||
}
|
||||
|
||||
if (c == a) {
|
||||
foo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user