aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/forLoopInitRewriter/empty_pre.yul
blob: 05aceb5209acc6cb053cf01a3ecde210091d7487 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  let a := 1
  for {} iszero(eq(a, 10)) { a := add(a, 1) } {
    a := add(a, 1)
  }
}
// ----
// forLoopInitRewriter
// {
//     let a := 1
//     for {
//     }
//     iszero(eq(a, 10))
//     {
//         a := add(a, 1)
//     }
//     {
//         a := add(a, 1)
//     }
// }