InlineAssembly: Extracting tests for switch statement

This commit is contained in:
Christian Parpart
2020-11-04 12:03:33 +01:00
parent 6f872dbebf
commit cc230ddda3
12 changed files with 79 additions and 65 deletions
@@ -0,0 +1,10 @@
{
switch 42
case 1 {}
case 1 {}
default {}
}
// ====
// dialect: evm
// ----
// DeclarationError 6792: (25-34): Duplicate case defined.