aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/viewPureChecker/smoke_test.sol
blob: 0e397efcc161e82052d1e985a65568a3b19408c4 (plain) (blame)
1
2
3
4
5
6
7
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; }
}