solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/216_function_argument_storage_to_mem.sol

11 lines
321 B
Solidity
Raw Normal View History

contract C {
function f(uint[] storage x) private {
g(x);
}
function g(uint[] memory x) public {
}
}
// ----
// Warning: (91-106): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (80-122): Function state mutability can be restricted to pure