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

15 lines
231 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: (138-160): Assertion violation happens here