mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Complete test coverage for errors related to parser error recovery
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
pragma solidity >=0.0.0;
|
||||
|
||||
contract Error7 {
|
||||
constructor() {
|
||||
a =
|
||||
// ----
|
||||
// ParserError 6933: (76-76): Expected primary expression.
|
||||
// ParserError 1957: (76-76): In Statement, ';'is expected; got end of source instead.
|
||||
// ParserError 1957: (76-76): In Block, '}'is expected; got end of source instead.
|
||||
// ParserError 1957: (76-76): In ContractDefinition, '}'is expected; got end of source instead.
|
||||
Reference in New Issue
Block a user