aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-13 00:00:50 +0800
committerGitHub <noreply@github.com>2018-12-13 00:00:50 +0800
commit87237281bf252b7afcf5d1295e75a03bf41ac864 (patch)
treebb04e0727932ff612735060893a5c37b2a30a99e /test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol
parent7e9a29090c29a8fb678f348fa7333a7658d70cf6 (diff)
parent8c49d86e6b2422757fe5579711ef7cdf1718b81c (diff)
downloaddexon-solidity-87237281bf252b7afcf5d1295e75a03bf41ac864.tar.gz
dexon-solidity-87237281bf252b7afcf5d1295e75a03bf41ac864.tar.zst
dexon-solidity-87237281bf252b7afcf5d1295e75a03bf41ac864.zip
Merge pull request #5630 from ethereum/warn_functions_empty_body
Supress unused var and state mut warnings for functions with empty body
Diffstat (limited to 'test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol')
-rw-r--r--test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol b/test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol
index 87719eb3..5ec6d06f 100644
--- a/test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol
+++ b/test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol
@@ -2,4 +2,3 @@ contract C {
function g() view public { }
}
// ----
-// Warning: (17-45): Function state mutability can be restricted to pure