solidity/test/libyul/yulOptimizerTests/functionHoister/multi_mixed.yul

21 lines
293 B
Plaintext
Raw Normal View History

2018-10-11 13:47:49 +00:00
{
let a:u256
function f() { let b:u256 }
let c:u256
function g() { let d:u256 }
let e:u256
}
2019-04-01 14:33:46 +00:00
// ====
// dialect: yul
2020-01-16 19:27:33 +00:00
// step: functionHoister
2018-10-11 13:47:49 +00:00
// ----
// {
2020-01-16 19:27:33 +00:00
// let a
// let c
// let e
2018-10-11 13:47:49 +00:00
// function f()
2020-01-16 19:27:33 +00:00
// { let b }
2018-10-11 13:47:49 +00:00
// function g()
2020-01-16 19:27:33 +00:00
// { let d }
2018-10-11 13:47:49 +00:00
// }