[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
abstract class Runnable(val arg: Int) {
|
||||
abstract fun run(): Int
|
||||
}
|
||||
|
||||
fun foo(): Int {
|
||||
val c: Int? = null
|
||||
val a: Int? = 1
|
||||
if (c is Int) {
|
||||
val k = object: Runnable(a!!) {
|
||||
override fun run() = arg
|
||||
}
|
||||
k.run()
|
||||
val d: Int = c
|
||||
return a <!INAPPLICABLE_CANDIDATE!>+<!> d
|
||||
}
|
||||
else return -1
|
||||
}
|
||||
Reference in New Issue
Block a user