aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/expressionSimplifier/inside_for.yul
blob: 42c3782696996e59a568ba91b5d1e4f65d98d941 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
    for { let a := 10 } iszero(eq(a, 0)) { a := add(a, 1) } {}
}
// ----
// expressionSimplifier
// {
//     for {
//         let a := 10
//     }
//     iszero(iszero(a))
//     {
//         a := add(a, 1)
//     }
//     {
//     }
// }