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

13 lines
177 B
Solidity
Raw Normal View History

2018-11-09 16:06:30 +00:00
pragma experimental SMTChecker;
contract C
{
mapping (bool => bool) map;
function f(bool x) public view {
require(x);
assert(x != map[x]);
}
}
// ====
// SMTSolvers: z3