aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/051_function_internal_allowed_conversion.sol
blob: aedc7b0b3ee309627cafe38d09ee658ad8cb2ddb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
contract C {
    uint a;
}
contract Test {
    C a;
    function g (C c) public {}
    function internalCall() public {
        g(a);
    }
}
// ----
// Warning: (68-71): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (56-82): Function state mutability can be restricted to pure