mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
285 B
Solidity
10 lines
285 B
Solidity
contract C {
|
|
function f(uint[] storage x) private {
|
|
}
|
|
function g(uint[] x) public {
|
|
f(x);
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (106-107): Invalid type for argument in function call. Invalid implicit conversion from uint256[] memory to uint256[] storage pointer requested.
|