From 9de45383d81c666deba27162ce163fc1c8c852dc Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 12 Jun 2018 17:06:47 +0100 Subject: Disallow sha3/suicide aliases --- test/libsolidity/syntaxTests/deprecated_functions.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/libsolidity/syntaxTests/deprecated_functions.sol') diff --git a/test/libsolidity/syntaxTests/deprecated_functions.sol b/test/libsolidity/syntaxTests/deprecated_functions.sol index 9df2b43c..ff3af7d2 100644 --- a/test/libsolidity/syntaxTests/deprecated_functions.sol +++ b/test/libsolidity/syntaxTests/deprecated_functions.sol @@ -8,5 +8,5 @@ contract test { } } // ---- -// Warning: (58-64): "sha3" has been deprecated in favour of "keccak256" -// Warning: (99-109): "suicide" has been deprecated in favour of "selfdestruct" +// TypeError: (58-64): "sha3" has been deprecated in favour of "keccak256" +// TypeError: (99-109): "suicide" has been deprecated in favour of "selfdestruct" -- cgit v1.2.3