aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/constant_state_modifier.sol
blob: da068351d01e106b9823959e9f76dbc54bdd3b72 (plain) (blame)
1
2
3
4
5
6
7
contract C {
    uint s;
    // this test should fail starting from 0.5.0
    function f() public constant returns (uint) {
        return s;
    }
}