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

18 lines
172 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.b.push();
}
}
// ----