solidity/test/libsolidity/smtCheckerTests/array_members/pop_loop_safe.sol
2020-05-18 16:35:56 +02:00

12 lines
153 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();
}
}
}