solidity/test/libsolidity/smtCheckerTests/types/array_branch_3d.sol
2019-05-10 11:28:10 +02:00

17 lines
464 B
Solidity

pragma experimental SMTChecker;
contract C
{
uint[][][] c;
function f(bool b) public {
c[0][0][0] = 0;
if (b)
c[0][0][0] = 1;
assert(c[0][0][0] > 0);
}
}
// ----
// Warning: (92-102): Assertion checker does not yet implement assignments to multi-dimensional mappings or arrays.
// Warning: (120-130): Assertion checker does not yet implement assignments to multi-dimensional mappings or arrays.
// Warning: (138-160): Assertion violation happens here