solidity/test/libsolidity/smtCheckerTests/external_calls/call_safe.sol
2021-08-19 16:34:01 +02:00

13 lines
268 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
// ----
// Warning 2072: (57-63): Unused local variable.
// Warning 2072: (65-82): Unused local variable.