mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
303 B
Solidity
8 lines
303 B
Solidity
contract test {
|
|
function fun(uint a) public returns(uint r) { return a; }
|
|
function fun(uint a, uint b) public returns(uint r) { return a + b; }
|
|
}
|
|
// ----
|
|
// Warning: (17-74): Function state mutability can be restricted to pure
|
|
// Warning: (76-145): Function state mutability can be restricted to pure
|