aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/empty_function.sol
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/parsing/empty_function.sol
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/parsing/empty_function.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/empty_function.sol1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/empty_function.sol b/test/libsolidity/syntaxTests/parsing/empty_function.sol
index d1027307..3f42e4e3 100644
--- a/test/libsolidity/syntaxTests/parsing/empty_function.sol
+++ b/test/libsolidity/syntaxTests/parsing/empty_function.sol
@@ -3,4 +3,3 @@ contract test {
function functionName(bytes20 arg1, address addr) public view returns (int id) { }
}
// ----
-// Warning: (36-118): Function state mutability can be restricted to pure