diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-03 03:49:59 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-03 04:21:11 +0800 |
commit | 07e765a2f1105343ef495fafeb6faa6cf0fefd18 (patch) | |
tree | 69a019b5a446e702bec5f404c64ffd513ec887b8 /test/libsolidity/syntaxTests/parsing/emit_without_event.sol | |
parent | 5cce2e552baf1f7431c99500da74cb929360c3b8 (diff) | |
download | dexon-solidity-07e765a2f1105343ef495fafeb6faa6cf0fefd18.tar.gz dexon-solidity-07e765a2f1105343ef495fafeb6faa6cf0fefd18.tar.zst dexon-solidity-07e765a2f1105343ef495fafeb6faa6cf0fefd18.zip |
Move some parser tests to syntax tests
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/emit_without_event.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/emit_without_event.sol | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/emit_without_event.sol b/test/libsolidity/syntaxTests/parsing/emit_without_event.sol new file mode 100644 index 00000000..5916fc2b --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/emit_without_event.sol @@ -0,0 +1,8 @@ +contract C { + event A(); + function f() { + emit A; + } +} +// ---- +// ParserError: (49-49): Expected token LParen got 'Semicolon' |