mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
224 B
Solidity
14 lines
224 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
{
|
|
mapping (uint => uint) map;
|
|
function f(uint x) public {
|
|
map[2] = x;
|
|
map[2] = 3;
|
|
assert(x != map[2]);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (134-153): Assertion violation happens here
|