mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
19 lines
309 B
Solidity
19 lines
309 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 1180: Contract invariant(s) for :D:\n(items[1][2][3].y <= 0)\n
|