solidity/test/libsolidity/smtCheckerTests/types/array_dynamic_3_fail.sol
Leonardo Alt cb6c2b33f8 Add tests
2019-03-06 11:29:26 +01:00

14 lines
313 B
Solidity

pragma experimental SMTChecker;
contract C
{
uint[][][] array;
function f(uint x, uint y, uint z, uint t, uint w, uint v) public view {
require(array[x][y][z] == 200);
require(x == t && y == w && z == v);
assert(array[t][w][v] > 300);
}
}
// ----
// Warning: (214-242): Assertion violation happens here