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

10 lines
178 B
Solidity

contract Foo {
function localConst() returns (uint ret)
{
uint constant local = 4;
return local;
}
}
// ----
// ParserError 2314: (67-75): Expected ';' but got 'constant'