solidity/test/libsolidity/semanticTests/operators/shifts/shift_cleanup_garbled.sol

15 lines
213 B
Solidity

contract C {
function f() public returns (uint8 x) {
assembly {
x := 0xffff
}
x >>= 8;
}
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// f() -> 0x0