mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
410 B
Solidity
11 lines
410 B
Solidity
|
contract test {
|
||
|
function f() public {
|
||
|
var x = 1/3;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// Warning: (50-55): Use of the "var" keyword is deprecated.
|
||
|
// Warning: (50-61): The type of this variable was inferred as ufixed256x77. This is probably not desired. Use an explicit type to silence this warning.
|
||
|
// Warning: (50-55): Unused local variable.
|
||
|
// Warning: (20-68): Function state mutability can be restricted to pure
|