solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/340_rational_bitxor_binary_operation.sol

8 lines
176 B
Solidity

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