diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_view_fail.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_view_fail.sol | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_view_fail.sol b/test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_view_fail.sol deleted file mode 100644 index 933bb4a3..00000000 --- a/test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_view_fail.sol +++ /dev/null @@ -1,7 +0,0 @@ -contract C { - function k() public view { - assembly { jump(2) } - } -} -// ---- -// SyntaxError: (63-70): Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead. |