mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
710 B
Solidity
14 lines
710 B
Solidity
contract test {
|
|
function f(uint x, uint y) public returns (uint a) {}
|
|
function g() public {
|
|
function (uint, uint) internal returns (uint) f1 = f;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (31-37): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
|
// Warning: (39-45): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
|
// Warning: (63-69): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
|
// Warning: (108-156): Unused local variable.
|
|
// Warning: (20-73): Function state mutability can be restricted to pure
|
|
// Warning: (78-167): Function state mutability can be restricted to pure
|