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]);
}
}
// ----
2020-07-13 18:48:00 +00:00
// Warning 6328: (125-144): Assertion violation happens here