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