mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
177 B
Solidity
13 lines
177 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
{
|
|
mapping (uint => uint) map;
|
|
function f() public {
|
|
map[1] = 111;
|
|
uint x = map[2];
|
|
map[1] = 112;
|
|
assert(map[2] == x);
|
|
}
|
|
}
|