mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
InlineAssembly: Extracting tests for switch statement
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{
|
||||
switch 42
|
||||
case 1 {}
|
||||
case 1 {}
|
||||
default {}
|
||||
}
|
||||
// ====
|
||||
// dialect: evm
|
||||
// ----
|
||||
// DeclarationError 6792: (25-34): Duplicate case defined.
|
||||
Reference in New Issue
Block a user