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

12 lines
159 B
Solidity
Raw Normal View History

contract C {
function f() public returns (uint256 a) {
a = 0x4200;
a >>= 8;
}
}
2020-04-20 21:16:42 +00:00
// ====
// compileViaYul: also
// ----
// f() -> 0x42