aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/049_function_external_call_allowed_conversion.sol
blob: ec72adeb9bbb1d36c27cc66ed221557e61d0bfc5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                  
contract C {}
contract Test {
    function externalCall() public {
        C arg;
        this.g(arg);
    }
    function g (C c) external {}
}
// ----
// Warning: (125-128): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (113-141): Function state mutability can be restricted to pure