solidity/test/libsolidity/smtCheckerTests/functions/getters/array_of_structs_1.sol

17 lines
237 B
Solidity
Raw Normal View History

pragma abicoder v1;
pragma experimental SMTChecker;
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;
}
}