aboutsummaryrefslogtreecommitdiffstats
path: root/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/branches_if.yul
blob: 5b8200d9c3e30a92d9e44292ba41ae1797b9de14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
    let b := 1
    if b { b := 1 }
    let c := 1
}
// ----
// commonSubexpressionEliminator
// {
//     let b := 1
//     if b
//     {
//         b := b
//     }
//     let c := 1
// }