solidity/test/libsolidity/syntaxTests/parsing/local_const_variable.sol
2018-05-09 14:08:25 +02:00

10 lines
173 B
Solidity

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