mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
384 B
Solidity
15 lines
384 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
{
|
|
uint[10][20][30] array;
|
|
function f(uint x, uint y, uint z, uint t, uint w, uint v) public view {
|
|
// TODO change to = 200 when 3d assignments are supported.
|
|
require(array[x][y][z] < 200);
|
|
require(x == t && y == w && z == v);
|
|
assert(array[t][w][v] > 300);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 4661: (280-308): Assertion violation happens here
|