mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
313 B
Solidity
8 lines
313 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 2018: (17-74): Function state mutability can be restricted to pure
|
|
// Warning 2018: (76-145): Function state mutability can be restricted to pure
|