mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
280 B
Solidity
9 lines
280 B
Solidity
|
contract test {
|
||
|
function f(uint256 arg1, uint32 arg2) public returns (bool ret) {
|
||
|
var x = arg1 + arg2 == 8; ret = x;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// Warning: (94-99): Use of the "var" keyword is deprecated.
|
||
|
// Warning: (20-134): Function state mutability can be restricted to pure
|