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,9 @@
{
switch mstore(1, 1)
case 1 {}
default {}
}
// ====
// dialect: evm
// ----
// TypeError 3950: (10-22): Expected expression to evaluate to one value, but got 0 values instead.