mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
196 B
Solidity
12 lines
196 B
Solidity
contract C {
|
|
function f(uint[] calldata _c) public pure {
|
|
uint[] calldata c;
|
|
if (_c[2] > 10)
|
|
c = _c;
|
|
else
|
|
c = _c;
|
|
c[2];
|
|
}
|
|
}
|
|
// ----
|