solidity/test/libsolidity/smtCheckerTests/types/mapping_4.sol
2019-12-09 15:32:08 +01:00

13 lines
177 B
Solidity

pragma experimental SMTChecker;
contract C
{
mapping (bool => bool) map;
function f(bool x) public view {
require(x);
assert(x != map[x]);
}
}
// ====
// SMTSolvers: z3