solidity/test/libsolidity/smtCheckerTests/array_members/push_struct_member_2.sol
2020-09-03 15:19:03 +02:00

19 lines
191 B
Solidity

pragma experimental SMTChecker;
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();
}
}
// ----