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