mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
195 B
Solidity
9 lines
195 B
Solidity
contract c {
|
|
function fun() public returns (uint r) {
|
|
uint _ = 8;
|
|
return _ + 1;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 2018: (17-105): Function state mutability can be restricted to pure
|