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

12 lines
215 B
Solidity

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