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

10 lines
128 B
Solidity
Raw Normal View History

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