blob: d209eb76af2bb464e0f5b35f015ccfe89a5ede05 (
plain) (
tree)
|
|
contract test {
function f() public {
bytes32 c = 3.2; c;
}
}
// ----
// TypeError: (50-65): Type rational_const 16 / 5 is not implicitly convertible to expected type bytes32. Try converting to type ufixed8x1 or use an explicit conversion.
|