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

10 lines
178 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;
}
}
// ----
// ParserError 2314: (67-75): Expected ';' but got 'constant'