mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
13 lines
219 B
JavaScript
13 lines
219 B
JavaScript
import * as dummy from 'dummy';
|
|
|
|
function blah(obj) {
|
|
obj.prop = obj.prop + "x";
|
|
return obj.prop;
|
|
}
|
|
|
|
function test() {
|
|
sink(blah(source())); // NOT OK
|
|
|
|
blah(); // ensure more than one call site exists
|
|
}
|