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

13 lines
215 B
Solidity

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