solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/303_fixed_type_int_conversion.sol

12 lines
232 B
Solidity
Raw Normal View History

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