solidity/test/libsolidity/syntaxTests/parsing/local_const_variable.sol
2022-04-01 23:41:18 -05:00

10 lines
189 B
Solidity

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