mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix abstract without contract.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
abstract
|
||||
// ----
|
||||
// ParserError: (9-9): Expected keyword "contract", "interface" or "library".
|
||||
// ParserError: (9-9): Expected identifier but got end of source
|
||||
@@ -0,0 +1,3 @@
|
||||
abstract A { }
|
||||
// ----
|
||||
// ParserError: (9-10): Expected keyword "contract", "interface" or "library".
|
||||
Reference in New Issue
Block a user