mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
23 lines
332 B
Plaintext
23 lines
332 B
Plaintext
{
|
|
let a:u256
|
|
{ }
|
|
function f() -> x:bool {
|
|
let b:u256 := 4:u256
|
|
{ }
|
|
for {} f() {} {}
|
|
}
|
|
}
|
|
// ====
|
|
// step: functionHoister
|
|
// yul: true
|
|
// ----
|
|
// {
|
|
// let a:u256
|
|
// function f() -> x:bool
|
|
// {
|
|
// let b:u256 := 4:u256
|
|
// for { } f() { }
|
|
// { }
|
|
// }
|
|
// }
|