Add syntax test for empty emit statement

This commit is contained in:
Alex Beregszaszi
2018-07-25 11:01:41 +01:00
parent 640b8af802
commit 008eb1c2c9
@@ -0,0 +1,7 @@
contract C {
function f() public {
emit;
}
}
// ----
// ParserError: (45-46): Expected event name or path.