solidity/test/libyul/yulOptimizerTests/expressionInliner/simple.yul

15 lines
202 B
Plaintext
Raw Normal View History

2018-10-11 14:58:21 +00:00
{
function f() -> x:u256 { x := 2:u256 }
let y:u256 := f()
}
2019-04-01 14:33:46 +00:00
// ====
// dialect: yul
2018-10-11 14:58:21 +00:00
// ----
// step: expressionInliner
//
2018-10-11 14:58:21 +00:00
// {
2020-01-16 19:27:33 +00:00
// function f() -> x
// { x := 2 }
// let y := 2
2018-10-11 14:58:21 +00:00
// }