solidity/test/libsolidity/semanticTests/shifts/shift_cleanup_garbled.sol
2020-03-19 14:42:25 +01:00

12 lines
158 B
Solidity

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