2019-04-11 16:14:48 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C
|
|
|
|
{
|
|
|
|
uint x;
|
|
|
|
mapping (uint => uint) map;
|
|
|
|
function f(address a, bytes memory data) public {
|
|
|
|
x = 0;
|
|
|
|
map[0] = 0;
|
|
|
|
mapping (uint => uint) storage localMap = map;
|
|
|
|
(bool success, bytes memory ret) = a.call(data);
|
|
|
|
assert(success);
|
|
|
|
assert(x == 0);
|
|
|
|
assert(map[0] == 0);
|
|
|
|
assert(localMap[0] == 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ====
|
|
|
|
// EVMVersion: >spuriousDragon
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 2072: (224-240): Unused local variable.
|
|
|
|
// Warning 4661: (260-275): Assertion violation happens here
|
|
|
|
// Warning 4661: (279-293): Assertion violation happens here
|
|
|
|
// Warning 4661: (297-316): Assertion violation happens here
|
|
|
|
// Warning 4661: (320-344): Assertion violation happens here
|