aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-07-03 17:51:44 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-08-02 20:36:05 +0800
commit5d9320c70b11b5ae1a44376451599732aa49dcde (patch)
tree6d41279efe62a7f9e62afcb119bdcfb045a3e5ea /test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol
parent6003ed2abdea76e809b1e6501b9e5a85b38e5859 (diff)
downloaddexon-solidity-5d9320c70b11b5ae1a44376451599732aa49dcde.tar
dexon-solidity-5d9320c70b11b5ae1a44376451599732aa49dcde.tar.gz
dexon-solidity-5d9320c70b11b5ae1a44376451599732aa49dcde.tar.bz2
dexon-solidity-5d9320c70b11b5ae1a44376451599732aa49dcde.tar.lz
dexon-solidity-5d9320c70b11b5ae1a44376451599732aa49dcde.tar.xz
dexon-solidity-5d9320c70b11b5ae1a44376451599732aa49dcde.tar.zst
dexon-solidity-5d9320c70b11b5ae1a44376451599732aa49dcde.zip
Disallow loos assembly in Solidity by permanently setting it to SyntaxError (from Warning)
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol')
-rw-r--r--test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol
index c3c82ce8..6cb35d6d 100644
--- a/test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol
+++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol
@@ -6,5 +6,4 @@ contract C {
}
}
// ----
-// Warning: (75-82): 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.
-// TypeError: (75-82): Function declared as pure, but this expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
+// SyntaxError: (75-82): 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.