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

8 lines
105 B
Solidity

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