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

14 lines
189 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
// ----
// f() -> 0x0