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

8 lines
197 B
Solidity
Raw Normal View History

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; }
}