solidity/test/libyul/yulOptimizerTests/disambiguator/switch_statement.yul

23 lines
417 B
Plaintext

{
{ let a:u256, b:u256, c:u256 }
{
let a:u256
switch a
case 0:u256 { let b:u256 := a }
default { let c:u256 := a }
}
}
// ====
// step: disambiguator
// yul: true
// ----
// {
// { let a:u256, b:u256, c:u256 }
// {
// let a_1:u256
// switch a_1
// case 0:u256 { let b_2:u256 := a_1 }
// default { let c_3:u256 := a_1 }
// }
// }