solidity/test/libyul/yulOptimizerTests/fullSimplify/signextend.yul
2019-04-03 14:58:20 +02:00

14 lines
246 B
Plaintext

{
let x := 7
mstore(0, signextend(50, x))
let y := 255
mstore(1, signextend(0, y))
}
// ====
// step: fullSimplify
// ----
// {
// mstore(0, 7)
// mstore(1, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
// }