solidity/test/libsolidity/semanticTests/extracted/shift_constant_right_assignment.sol
2020-03-18 11:56:43 -05:00

10 lines
128 B
Solidity

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