solidity/test/libsolidity/smtCheckerTests/functions/getters/array_of_structs_1.sol
2021-04-20 17:38:29 +02:00

18 lines
238 B
Solidity

pragma abicoder v1;
struct Item {
uint x;
uint y;
}
contract D {
Item[][][] public items;
function test() public view returns (uint) {
(uint a, uint b) = this.items(1, 2, 3);
return a + b;
}
}
// ====
// SMTEngine: all
// ----