aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/local_const_variable.sol
blob: 505fe0b5fc9566d3e2f3594fe6cd1c75c5a5a35d (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-75): Expected ';' but got 'constant'