Swift: Add failing test.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-10-27 11:22:56 +01:00
parent a5a7d27c4b
commit 9b150e4ea9

View File

@@ -181,3 +181,11 @@ class S {
sink(self.bf2); // $ MISSING: hasValueFlow
}
}
func multi() {
var x = 0
var y = source("multi", 1)
var f = { () in x = y }
f()
sink(x) // $ MISSING: hasValueFlow=multi
}