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