aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/deprecated_functions.sol
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-11-29 17:05:52 +0800
committerLeonardo Alt <leo@ethereum.org>2018-11-29 21:29:13 +0800
commit67bbcefe6c104d60b42d35c61d42fb979f69fe89 (patch)
tree2f0a0f6b33bdabcb8fe70ed9aeb02f46086ee717 /test/libsolidity/syntaxTests/deprecated_functions.sol
parent6b11ef188739302bc9a2a553aee25a172325e0be (diff)
downloaddexon-solidity-67bbcefe6c104d60b42d35c61d42fb979f69fe89.tar.gz
dexon-solidity-67bbcefe6c104d60b42d35c61d42fb979f69fe89.tar.zst
dexon-solidity-67bbcefe6c104d60b42d35c61d42fb979f69fe89.zip
Report deprecation error on functions sha3 and suicide also without call.
Diffstat (limited to 'test/libsolidity/syntaxTests/deprecated_functions.sol')
-rw-r--r--test/libsolidity/syntaxTests/deprecated_functions.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/deprecated_functions.sol b/test/libsolidity/syntaxTests/deprecated_functions.sol
index 62dfcff9..c5764e96 100644
--- a/test/libsolidity/syntaxTests/deprecated_functions.sol
+++ b/test/libsolidity/syntaxTests/deprecated_functions.sol
@@ -8,5 +8,5 @@ contract test {
}
}
// ----
-// TypeError: (58-66): "sha3" has been deprecated in favour of "keccak256"
-// TypeError: (101-152): "suicide" has been deprecated in favour of "selfdestruct"
+// TypeError: (58-62): "sha3" has been deprecated in favour of "keccak256"
+// TypeError: (101-108): "suicide" has been deprecated in favour of "selfdestruct"