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

12 lines
168 B
Solidity

pragma experimental SMTChecker;
contract C
{
uint[10] array;
function f(uint x, uint y) public {
array[x] = 200;
require(x == y);
assert(array[y] > 100);
}
}