aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/empty_function.sol
blob: 4f8451898e3d869a8b792d93fdccc428b732f3c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
contract test {
    uint256 stateVar;
    function functionName(bytes20 arg1, address addr) constant returns (int id) { }
}
// ----
// Warning: (36-115): No visibility specified. Defaulting to "public". 
// Warning: (58-70): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (72-84): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (104-110): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (36-115): Function state mutability can be restricted to pure