2021-08-11 16:10:34 +00:00
|
|
|
contract C {
|
|
|
|
uint x;
|
|
|
|
function s(uint _x) public view {
|
|
|
|
x == _x;
|
|
|
|
}
|
|
|
|
function f(address a) public {
|
|
|
|
(bool s, bytes memory data) = a.call("");
|
|
|
|
assert(x == 0); // should hold
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ====
|
|
|
|
// SMTEngine: all
|
2021-10-06 09:53:03 +00:00
|
|
|
// SMTIgnoreOS: macos
|
2021-08-11 16:10:34 +00:00
|
|
|
// ----
|
|
|
|
// Warning 2519: (106-112): This declaration shadows an existing declaration.
|
|
|
|
// Warning 2072: (106-112): Unused local variable.
|
|
|
|
// Warning 2072: (114-131): Unused local variable.
|
2023-02-09 16:07:13 +00:00
|
|
|
// Info 1391: CHC: 1 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.
|