solidity/test/libsolidity/semanticTests/operators/shifts/shift_cleanup_garbled.sol
2022-05-19 20:23:28 +02:00

14 lines
190 B
Solidity

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