2020-05-17 18:20:17 +00:00
|
|
|
contract C {
|
|
|
|
uint256[] x;
|
|
|
|
function f(uint256 l) public {
|
|
|
|
require(x.length == 0);
|
|
|
|
x.push(42);
|
|
|
|
x.push(84);
|
|
|
|
for(uint256 i = 0; i < l; ++i)
|
|
|
|
x.push(23);
|
|
|
|
assert(x[0] == 42 || x[0] == 23);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-31 15:11:54 +00:00
|
|
|
// ====
|
|
|
|
// SMTEngine: all
|