solidity/test/libsolidity/syntaxTests/parsing/local_const_variable.sol

10 lines
173 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
contract Foo {
function localConst() returns (uint ret)
{
uint constant local = 4;
return local;
}
}
// ----
2018-05-09 11:15:27 +00:00
// ParserError: (67-75): Expected ';' but got 'constant'