mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
188 B
Solidity
12 lines
188 B
Solidity
contract C {
|
|
function f() public pure returns (uint) {
|
|
uint8 b;
|
|
assembly { b := 0xffff }
|
|
return b;
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: true
|
|
// ----
|
|
// f() -> 255
|