solidity/test/libsolidity/smtCheckerTests/array_members/pop_loop_safe.sol
2020-12-30 12:14:30 +01:00

13 lines
161 B
Solidity

pragma experimental SMTChecker;
contract C {
uint[] a;
function f(uint l) public {
for (uint i = 0; i < l; ++i) {
a.push();
a.pop();
}
}
}
// ----