function getAgeConstant() public constant returns(uint) { age += 1; return age; }
function getAgeView() public view returns(uint) { age += 2; return age; }
function getAgePure() public pure returns(uint) { age += 3; return age; }
function getAge() public returns(uint) { return age; } }
getAgeConstant: 编译会报warning,返回31 getAgeView: 编译会报warning,返回32 getAgePure: 编译报错,错误信息:Function declared as pure, but this expression (potentially) modifies the state and thus requires non-payable (the default) or payable getAge:返回30