diff options
author | Christian Parpart <christian@ethereum.org> | 2018-07-09 21:04:27 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-02 20:37:13 +0800 |
commit | 9b8a05ebfb34b0c4062cc6ab824b7281066424a6 (patch) | |
tree | 6e59dd641229cdd1803d17c851e7255030eff1f9 /test/libsolidity/syntaxTests/viewPureChecker | |
parent | ed3cb327ea9a09e939ddfc88743f04bf5901fa8c (diff) | |
download | dexon-solidity-9b8a05ebfb34b0c4062cc6ab824b7281066424a6.tar.gz dexon-solidity-9b8a05ebfb34b0c4062cc6ab824b7281066424a6.tar.zst dexon-solidity-9b8a05ebfb34b0c4062cc6ab824b7281066424a6.zip |
Update tests to remove support for loose assembly
Diffstat (limited to 'test/libsolidity/syntaxTests/viewPureChecker')
-rw-r--r-- | test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_no_restrict_warning.sol | 7 | ||||
-rw-r--r-- | test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_view_fail.sol | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_no_restrict_warning.sol b/test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_no_restrict_warning.sol deleted file mode 100644 index cc6ef183..00000000 --- a/test/libsolidity/syntaxTests/viewPureChecker/assembly_jump_no_restrict_warning.sol +++ /dev/null @@ -1,7 +0,0 @@ -contract C { - function k() public { - assembly { jump(2) } - } -} -// ---- -// SyntaxError: (58-65): 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. 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. |