solidity/test/libsolidity/smtCheckerTests/functions/getters/array_of_structs_1.sol
2023-03-09 14:59:32 +01:00

19 lines
369 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
// ----
// Info 1391: CHC: 1 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.