solidity/test/libsolidity/semanticTests/operators/shifts/shift_right_uint8.sol
2023-05-11 10:56:55 -05:00

9 lines
185 B
Solidity

contract C {
function f(uint8 a, uint8 b) public returns (uint256) {
return a >> b;
}
}
// ----
// f(uint8,uint8): 0x66, 0x0 -> 0x66
// f(uint8,uint8): 0x66, 0x8 -> 0x0