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

12 lines
201 B
Solidity

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