aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/216_function_argument_storage_to_mem.sol
blob: c5175a41052562b64112341132e8d0b02d0755ab (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                          
                                        


       

                                                                                                                 
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