aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/369_shift_constant_right_negative_rvalue.sol
blob: 55f385c67f0cc6a3f1482b4ef98f4b9906507fb2 (plain) (tree)
1
2
3
4
5




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