solidity/test/libsolidity/smtCheckerTests/types/mapping_3d_1_fail.sol
2020-07-23 18:49:03 +02:00

14 lines
280 B
Solidity

pragma experimental SMTChecker;
contract C
{
mapping (uint => mapping (uint => mapping (uint => uint))) map;
function f(uint x) public {
x = 41;
map[13][14][15] = 42;
assert(x == map[13][14][15]);
}
}
// ----
// Warning 6328: (176-204): Assertion violation happens here