mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
285 B
Plaintext
9 lines
285 B
Plaintext
{
|
|
{ switch 42 case 1 {} }
|
|
{ switch 42 case 1 {} case 2 {} }
|
|
{ switch 42 case 1 {} default {} }
|
|
{ switch 42 case 1 {} case 2 {} default {} }
|
|
{ switch mul(1, 2) case 1 {} case 2 {} default {} }
|
|
{ function f() -> x {} switch f() case 1 {} case 2 {} default {} }
|
|
}
|