diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/types/empty_tuple_event_050.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/types/empty_tuple_event_050.sol | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/libsolidity/syntaxTests/types/empty_tuple_event_050.sol b/test/libsolidity/syntaxTests/types/empty_tuple_event_050.sol deleted file mode 100644 index aec5ff2a..00000000 --- a/test/libsolidity/syntaxTests/types/empty_tuple_event_050.sol +++ /dev/null @@ -1,10 +0,0 @@ -pragma experimental "v0.5.0"; -contract C { - event SomeEvent(); - function a() public { - (SomeEvent(), 7); - } -} -// ---- -// TypeError: (101-112): Event invocations have to be prefixed by "emit". -// TypeError: (101-112): Tuple component cannot be empty. |