mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
325 B
Solidity
11 lines
325 B
Solidity
contract C {
|
|
function f(uint16[3] memory a, uint16[2][3] memory b, uint i, uint j, uint k)
|
|
public pure returns (uint, uint) {
|
|
return (a[i], b[j][k]);
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// f(uint16[3],uint16[2][3],uint256,uint256,uint256): 1, 2, 3, 11, 12, 21, 22, 31, 32, 1, 2, 1 -> 2, 32
|