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

12 lines
220 B
Solidity
Raw Normal View History

2018-11-09 16:06:30 +00:00
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