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

15 lines
213 B
Solidity
Raw Normal View History

contract C {
function f() public returns (uint8 x) {
assembly {
x := 0xffff
}
x >>= 8;
}
}
2020-04-20 21:16:42 +00:00
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// f() -> 0x0