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

12 lines
158 B
Solidity
Raw Normal View History

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