solidity/test/libsolidity/smtCheckerTests/types/mapping_5.sol

12 lines
220 B
Solidity

pragma experimental SMTChecker;
contract C
{
mapping (address => uint) map;
function f(address a, uint x) public view {
assert(x != map[a]);
}
}
// ----
// Warning 4661: (125-144): Assertion violation happens here