aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/no_function_params.sol
blob: 020f1233bf988b9ea9fca029dee28301bade5bce (plain) (blame)
1
2
3
4
5
6
7
contract test {
    uint256 stateVar;
    function functionName() {}
}
// ----
// Warning: (36-62): No visibility specified. Defaulting to "public". 
// Warning: (36-62): Function state mutability can be restricted to pure