solidity/test/libsolidity/smtCheckerTests/types/mapping_equal_keys_2.sol
2018-12-14 12:21:53 +01:00

13 lines
232 B
Solidity

pragma experimental SMTChecker;
contract C
{
mapping (uint => uint) map;
function f(uint x, uint y) public view {
assert(x == y);
assert(map[x] == map[y]);
}
}
// ----
// Warning: (119-133): Assertion violation happens here