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

10 lines
127 B
Plaintext
Raw Normal View History

2018-10-11 16:35:13 +00:00
{
let a := mload(0)
let b := sub(a, a)
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, 0) }