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,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.
|
||||
Reference in New Issue
Block a user