solidity/test/libsolidity/syntaxTests/parsing/local_const_variable.sol
2018-05-02 21:21:11 +01:00

10 lines
181 B
Solidity

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