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

24 lines
310 B
Plaintext
Raw Normal View History

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