aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/single_function_param.sol
blob: 08e531f1cee887a78024a56606f027cd4988311c (plain) (blame)
1
2
3
4
5
6
7
8
9
contract test {
    uint256 stateVar;
    function functionName(bytes32 input) returns (bytes32 out) {}
}
// ----
// Warning: (36-97): No visibility specified. Defaulting to "public". 
// Warning: (58-71): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (82-93): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (36-97): Function state mutability can be restricted to pure