solidity/test/libsolidity/smtCheckerTests/bmc_coverage/staticcall_state_var.sol
2022-04-01 23:41:18 -05:00

13 lines
245 B
Solidity

contract C {
uint x;
function f(address _a) public {
x = 2;
_a.staticcall("");
assert(x == 2); // should hold
}
}
// ====
// SMTEngine: bmc
// ----
// Warning 9302: (66-83='_a.staticcall("")'): Return value of low-level calls not used.