solidity/test/libsolidity/semanticTests/viaYul/return_and_convert.sol
2019-04-30 13:10:36 +02:00

12 lines
188 B
Solidity

contract C {
function f() public pure returns (uint) {
uint8 b;
assembly { b := 0xffff }
return b;
}
}
// ====
// compileViaYul: true
// ----
// f() -> 255