solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/049_function_external_call_allowed_conversion.sol

12 lines
342 B
Solidity
Raw Normal View History

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