aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/viewPureChecker
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-12-12 19:03:59 +0800
committerLeonardo Alt <leo@ethereum.org>2018-12-12 21:43:44 +0800
commit508aae8a6709f4758753bb1e2ac1f613043c6750 (patch)
tree01039605827986d6881787bf38baa042a90b0638 /test/libsolidity/syntaxTests/viewPureChecker
parent53537864a2b7322c58248ea8c9937d13aca7ca61 (diff)
downloaddexon-solidity-508aae8a6709f4758753bb1e2ac1f613043c6750.tar
dexon-solidity-508aae8a6709f4758753bb1e2ac1f613043c6750.tar.gz
dexon-solidity-508aae8a6709f4758753bb1e2ac1f613043c6750.tar.bz2
dexon-solidity-508aae8a6709f4758753bb1e2ac1f613043c6750.tar.lz
dexon-solidity-508aae8a6709f4758753bb1e2ac1f613043c6750.tar.xz
dexon-solidity-508aae8a6709f4758753bb1e2ac1f613043c6750.tar.zst
dexon-solidity-508aae8a6709f4758753bb1e2ac1f613043c6750.zip
Disable state mutability warning for functions with empty body
Diffstat (limited to 'test/libsolidity/syntaxTests/viewPureChecker')
-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