aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/no_function_params.sol
blob: 5a024bdbf2e13c981bec168fa21bcfd61ceadb2b (plain) (tree)
1
2
3
4
5
6

                         
                                         

       
                                                                        
contract test {
    uint256 stateVar;
    function functionName() public {}
}
// ----
// Warning: (36-69): Function state mutability can be restricted to pure