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