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