Add syntax test for empty emit statement

This commit is contained in:
Alex Beregszaszi 2018-07-24 20:04:21 +01:00
parent 640b8af802
commit 008eb1c2c9

View File

@ -0,0 +1,7 @@
contract C {
function f() public {
emit;
}
}
// ----
// ParserError: (45-46): Expected event name or path.