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

14 lines
318 B
Solidity

contract C {
uint x;
function f(address a) public {
(bool s, bytes memory data) = a.call("");
assert(x == 0); // should hold
}
}
// ====
// SMTEngine: all
// SMTIgnoreInv: yes
// ----
// Warning 2072: (57-63='bool s'): Unused local variable.
// Warning 2072: (65-82='bytes memory data'): Unused local variable.