aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/368_shift_constant_left_negative_rvalue.sol
blob: 9c941a68df01f38e5461a5cd2d27c2f23051a2f6 (plain) (blame)
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