mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add syntax test for empty emit statement
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
contract C {
|
||||
function f() public {
|
||||
emit;
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (45-46): Expected event name or path.
|
||||
Reference in New Issue
Block a user