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

8 lines
105 B
Solidity
Raw Normal View History

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