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