solidity/test/libsolidity/syntaxTests/viewPureChecker/smoke_test.sol

8 lines
209 B
Solidity
Raw Normal View History

contract C {
uint x;
function g() pure public {}
2020-05-05 08:56:31 +00:00
function f() view public returns (uint) { return block.timestamp; }
function h() public { x = 2; }
function i() payable public { x = 2; }
}