aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/empty_function.sol
blob: d1027307538fd975c02175a1a550de79226a4f6a (plain) (blame)
1
2
3
4
5
6
contract test {
    uint256 stateVar;
    function functionName(bytes20 arg1, address addr) public view returns (int id) { }
}
// ----
// Warning: (36-118): Function state mutability can be restricted to pure