solidity/test/libyul/yulOptimizerTests/expressionSimplifier/invariant.yul

10 lines
142 B
Plaintext
Raw Normal View History

2018-10-11 16:35:13 +00:00
{
let a := mload(sub(7, 7))
let b := sub(a, 0)
2020-08-03 20:42:39 +00:00
sstore(0, b)
2018-10-11 16:35:13 +00:00
}
// ----
// step: expressionSimplifier
//
2020-08-03 20:42:39 +00:00
// { sstore(0, mload(0)) }