solidity/test/libyul/yulOptimizerTests/disambiguator/switch_statement.yul
2019-12-18 21:54:30 +01:00

23 lines
420 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
// dialect: yul
// ----
// {
// { 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 }
// }
// }