mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
28 lines
467 B
Plaintext
28 lines
467 B
Plaintext
// yul
|
|
{
|
|
{ let a:u256, b:u256, c:u256 }
|
|
{
|
|
let a:u256
|
|
switch a
|
|
case 0:u256 { let b:u256 := a }
|
|
default { let c:u256 := a }
|
|
}
|
|
}
|
|
// ----
|
|
// disambiguator
|
|
// {
|
|
// {
|
|
// 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
|
|
// }
|
|
// }
|
|
// }
|