solidity/test/libsolidity/smtCheckerTests/array_members/push_struct_member_2.sol
2023-05-11 10:56:55 -05:00

20 lines
315 B
Solidity

contract C {
struct S {
int[] b;
}
S s;
struct T {
S[] s;
}
T t;
function f() public {
s.b.push();
t.s.push();
t.s[0].b.push();
}
}
// ====
// SMTEngine: all
// ----
// Info 1391: CHC: 1 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.