[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
fun bar(): Boolean { return true }
|
||||
|
||||
fun gav(arg: Any): String { return if (arg is String) arg else "" }
|
||||
|
||||
public fun foo(x: String?): Int {
|
||||
var y: Any
|
||||
do {
|
||||
y = ""
|
||||
y = gav(if (x == null) break else x)
|
||||
} while (bar())
|
||||
y.hashCode()
|
||||
// x is null because of the break
|
||||
return x.<!INAPPLICABLE_CANDIDATE!>length<!>
|
||||
}
|
||||
Reference in New Issue
Block a user