solidity/test/libsolidity/syntaxTests/parsing/no_function_params.sol
2018-05-02 21:21:11 +01:00

8 lines
217 B
Solidity

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