aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/single_function_param.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/parsing/single_function_param.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/parsing/single_function_param.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/single_function_param.sol3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/single_function_param.sol b/test/libsolidity/syntaxTests/parsing/single_function_param.sol
index 955f20f0..8dbac272 100644
--- a/test/libsolidity/syntaxTests/parsing/single_function_param.sol
+++ b/test/libsolidity/syntaxTests/parsing/single_function_param.sol
@@ -3,6 +3,3 @@ contract test {
function functionName(bytes32 input) public returns (bytes32 out) {}
}
// ----
-// Warning: (58-71): Unused function parameter. Remove or comment out the variable name to silence this warning.
-// Warning: (89-100): Unused function parameter. Remove or comment out the variable name to silence this warning.
-// Warning: (36-104): Function state mutability can be restricted to pure