Require 0.4.16 for view/pure in docs examples

This commit is contained in:
Alex Beregszaszi
2017-08-25 12:37:23 +01:00
parent 38035f8e32
commit bb493bf52d
+2 -2
View File
@@ -471,7 +471,7 @@ Functions can be declared ``view`` in which case they promise not to modify the
::
pragma solidity ^0.4.0;
pragma solidity ^0.4.16;
contract C {
function f(uint a, uint b) view returns (uint) {
@@ -498,7 +498,7 @@ Functions can be declared ``pure`` in which case they promise not to read from o
::
pragma solidity ^0.4.0;
pragma solidity ^0.4.16;
contract C {
function f(uint a, uint b) pure returns (uint) {