aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/050_function_external_call_not_allowed_conversion.sol
blob: 18d75948c498326ad74439e06efd4bfdd88335c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
contract C {}
contract Test {
    function externalCall() public {
        address arg;
        this.g(arg);
    }
    function g (C c) external {}
}
// ----
// TypeError: (103-106): Invalid type for argument in function call. Invalid implicit conversion from address to contract C requested.