mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
244 B
Solidity
7 lines
244 B
Solidity
|
contract test {
|
||
|
function f() public returns (int256 r) { var x = int256(uint32(2)); return x; }
|
||
|
}
|
||
|
// ----
|
||
|
// Warning: (61-66): Use of the "var" keyword is deprecated.
|
||
|
// Warning: (20-99): Function state mutability can be restricted to pure
|