mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
342 B
Solidity
17 lines
342 B
Solidity
|
contract C {
|
||
|
function g() internal pure returns (bytes calldata) {
|
||
|
return msg.data;
|
||
|
}
|
||
|
function h(uint[] calldata _c) internal pure {
|
||
|
uint[] calldata c;
|
||
|
c = _c;
|
||
|
c[2];
|
||
|
}
|
||
|
function i(uint[] calldata _c) internal pure {
|
||
|
uint[] calldata c;
|
||
|
(c) = _c;
|
||
|
c[2];
|
||
|
}
|
||
|
}
|
||
|
// ----
|