mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move some parser tests to syntax tests
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
contract Foo {
|
||||
function localConst() returns (uint ret)
|
||||
{
|
||||
uint constant local = 4;
|
||||
return local;
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (67-67): Expected token Semicolon got 'Constant'
|
||||
Reference in New Issue
Block a user