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