solidity/test/libsolidity/semanticTests/shifts/shift_constant_right_assignment.sol
2020-05-06 19:14:23 +02:00

12 lines
159 B
Solidity

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