solidity/test/libsolidity/syntaxTests/viewPureChecker/smoke_test.sol
2020-05-05 21:11:15 +05:30

8 lines
209 B
Solidity

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