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

15 lines
210 B
Plaintext
Raw Normal View History

2018-10-11 14:58:21 +00:00
{
function f(a:u256) -> x:u256 { x := a }
let y:u256 := f(7:u256)
}
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(a) -> x
// { x := a }
2020-01-16 19:27:33 +00:00
// let y := 7
2018-10-11 14:58:21 +00:00
// }