mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
318 B
Solidity
12 lines
318 B
Solidity
|
contract C {
|
||
|
function f() public returns (bool ret) {
|
||
|
return f == f;
|
||
|
}
|
||
|
function g() public returns (bool ret) {
|
||
|
return f != f;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// Warning: (17-86): Function state mutability can be restricted to pure
|
||
|
// Warning: (91-160): Function state mutability can be restricted to pure
|