Report deprecation error on functions sha3 and suicide also without call.

This commit is contained in:
Leonardo Alt
2018-11-29 14:29:13 +01:00
parent 6b11ef1887
commit 67bbcefe6c
9 changed files with 76 additions and 22 deletions
@@ -0,0 +1,9 @@
contract C
{
function f() public pure returns (bool) {
bool sha3 = true;
return sha3;
}
}
// ----
// Warning: (58-67): This declaration shadows a builtin symbol.