solidity/test/libsolidity/smtCheckerTests/array_members/push_zero_2d_safe.sol

12 lines
161 B
Solidity
Raw Normal View History

2020-05-17 21:21:08 +00:00
contract C {
uint[][] a;
function f() public {
a.push();
2021-03-23 18:15:14 +00:00
a[a.length - 1].push();
2020-05-17 21:21:08 +00:00
assert(a[a.length - 1][0] == 0);
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
// ----