2018-11-09 16:06:30 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C
|
|
|
|
{
|
|
|
|
mapping (uint => uint) map;
|
|
|
|
function f(uint x) public {
|
|
|
|
map[2] = x;
|
|
|
|
map[2] = 3;
|
|
|
|
assert(x != map[2]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 4661: (134-153): Assertion violation happens here
|