solidity/test/libsolidity/smtCheckerTests/types/mapping_4.sol
2019-09-02 22:37:30 +02:00

12 lines
159 B
Solidity

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