solidity/test/libsolidity/semanticTests/shifts/shift_constant_right.sol

8 lines
105 B
Solidity

contract C {
uint256 public a = 0x4200 >> 8;
}
// ====
// compileViaYul: also
// ----
// a() -> 0x42