aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/local_const_variable.sol
blob: f06e2501daff0709ee030ba262529b0dde6d598e (plain) (blame)
1
2
3
4
5
6
7
8
9
contract Foo {
    function localConst() returns (uint ret)
    {
        uint constant local = 4;
        return local;
    }
}
// ----
// ParserError: (67-67): Expected ';' but got 'constant'