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

12 lines
206 B
Solidity
Raw Normal View History

2018-11-09 16:06:30 +00:00
pragma experimental SMTChecker;
contract C
{
mapping (uint => bool) map;
function f(bool x) public view {
assert(x != map[2]);
}
}
// ----
2020-07-13 18:48:00 +00:00
// Warning 6328: (111-130): Assertion violation happens here