solidity/test/libsolidity/syntaxTests/viewPureChecker/smoke_test.sol
2018-06-06 15:41:41 +01:00

8 lines
197 B
Solidity

contract C {
uint x;
function g() pure public {}
function f() view public returns (uint) { return now; }
function h() public { x = 2; }
function i() payable public { x = 2; }
}