solidity/test/libsolidity/semanticTests/shifts/shift_constant_right_assignment.sol
2020-03-19 14:42:25 +01:00

10 lines
128 B
Solidity

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