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

8 lines
217 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
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