solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/371_shift_constant_right_excessive_rvalue.sol

6 lines
163 B
Solidity
Raw Normal View History

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