aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/expressionJoiner/multi_wrong_order2.yul
blob: c577e1820c8ddde214ac831a4e75dee1410979a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{
    let a := mload(2)
    let b := mload(6)
    let x := mul(add(a, b), 2)
    sstore(x, 3)
}
// ----
// expressionJoiner
// {
//     let a := mload(2)
//     sstore(mul(add(a, mload(6)), 2), 3)
// }