solidity/test/libsolidity/syntaxTests/parsing/no_function_params.sol

7 lines
153 B
Solidity

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