aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/viewPureChecker/constant.sol
blob: 36d934977a94c9718cbbdafa644f2182dcfd8249 (plain) (blame)
1
2
3
4
5
6
contract C {
    uint constant x = 2;
    function k() pure public returns (uint) {
        return x;
    }
}