solidity/test/libsolidity/syntaxTests/parsing/local_const_variable.sol
2020-01-08 16:12:06 +01: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"