mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
232 B
Solidity
12 lines
232 B
Solidity
|
contract test {
|
||
|
function f() public {
|
||
|
uint64 a = 3;
|
||
|
int64 b = 4;
|
||
|
fixed c = b;
|
||
|
ufixed d = a;
|
||
|
c; d;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// Warning: (20-147): Function state mutability can be restricted to pure
|