diff options
author | chriseth <chris@ethereum.org> | 2018-08-06 17:44:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-06 17:44:05 +0800 |
commit | 3576980710e019165db272afb4fc5e80f8bd5bff (patch) | |
tree | 00c5362dfc08cca1b11ce7073030e5c3cfcffdb4 /test/libsolidity/syntaxTests/emit/emit_empty.sol | |
parent | 30f981fc2ca00765bdf6be55f1b634937847ab92 (diff) | |
parent | 20c6cea7bb803a5217f6b96062c7bce150ba2b73 (diff) | |
download | dexon-solidity-3576980710e019165db272afb4fc5e80f8bd5bff.tar.gz dexon-solidity-3576980710e019165db272afb4fc5e80f8bd5bff.tar.zst dexon-solidity-3576980710e019165db272afb4fc5e80f8bd5bff.zip |
Merge pull request #4644 from ethereum/event_struct_error
Disallow structs in events without ABIEncoderV2
Diffstat (limited to 'test/libsolidity/syntaxTests/emit/emit_empty.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/emit/emit_empty.sol | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/emit/emit_empty.sol b/test/libsolidity/syntaxTests/emit/emit_empty.sol new file mode 100644 index 00000000..819d88fe --- /dev/null +++ b/test/libsolidity/syntaxTests/emit/emit_empty.sol @@ -0,0 +1,7 @@ +contract C { + function f() public { + emit; + } +} +// ---- +// ParserError: (45-46): Expected event name or path. |