solidity/test/libsolidity/semanticTests/shifts/shift_left_uint8.sol
2020-05-06 19:14:23 +02:00

12 lines
215 B
Solidity

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