aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/372_shift_constant_right_fractional.sol
blob: 38d9b051ca1c399124a6bc2ed9dd7e7300602ff7 (plain) (tree)
1
2
3
4
5




                                                                                                  
contract C {
    uint public a = 0x42 >> (1 / 2);
}
// ----
// TypeError: (33-48): Operator >> not compatible with types int_const 66 and rational_const 1 / 2