mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
293 B
Solidity
11 lines
293 B
Solidity
|
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.
|