solidity/test/libsolidity/smtCheckerTests/types/mapping_5.sol
2020-07-23 18:49:03 +02:00

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 6328: (125-144): Assertion violation happens here