solidity/test/libsolidity/syntaxTests/viewPureChecker/smoke_test.sol
2021-04-20 17:38:29 +02:00

9 lines
217 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; }
}
// ----