aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/varDeclPropagator/use_doesnt_rewrite.yul
blob: e27785dd5698b5cf8ab502dfb43a3cda4b415496 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  function f(x) {}
  let a
  f(a)
  a := 4
}
// ----
// varDeclPropagator
// {
//     function f(x)
//     {
//     }
//     let a
//     f(a)
//     a := 4
// }