mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix assertion concerning jumps in strict assembly.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
--strict-assembly
|
||||
@@ -0,0 +1,3 @@
|
||||
strict_asm_jump/input.sol:1:3: Error: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are disallowed in strict assembly. Use functions, "switch", "if" or "for" statements instead.
|
||||
{ jump(1) }
|
||||
^-----^
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
{ jump(1) }
|
||||
Reference in New Issue
Block a user