solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/339_rational_bitor_binary_operation.sol

8 lines
175 B
Solidity
Raw Normal View History

contract test {
function f() public {
fixed(1.5) | 3;
}
}
// ----
// TypeError 2271: (50-64): Operator | not compatible with types fixed128x18 and int_const 3