aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/expressionSimplifier/unassigned_vars.yul
blob: 7b1430f39607c38c77d909de75950adaca4a6c82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Unassigned variables are assumed to be zero.
{
    let c
    let d
    let y := add(d, add(c, 7))
}
// ----
// expressionSimplifier
// {
//     let c
//     let d
//     let y := 7
// }