mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
341 B
Solidity
15 lines
341 B
Solidity
contract Test {
|
|
function set(uint24[3][4] memory x) public {
|
|
x[2][2] = 1;
|
|
x[3][2] = 7;
|
|
}
|
|
|
|
function f() public returns (uint24[3][4] memory) {
|
|
uint24[3][4] memory data;
|
|
set(data);
|
|
return data;
|
|
}
|
|
}
|
|
// ----
|
|
// f() -> 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x07
|