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

12 lines
169 B
Plaintext
Raw Normal View History

// Unassigned variables are assumed to be zero.
{
let c
let d
let y := add(d, add(c, 7))
2020-08-03 20:42:39 +00:00
sstore(8, y)
}
// ----
// step: expressionSimplifier
//
2020-08-03 20:42:39 +00:00
// { sstore(8, 7) }