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

14 lines
189 B
Solidity

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