diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/563_event_without_emit_deprecated.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/563_event_without_emit_deprecated.sol | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/563_event_without_emit_deprecated.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/563_event_without_emit_deprecated.sol new file mode 100644 index 00000000..d6068ff6 --- /dev/null +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/563_event_without_emit_deprecated.sol @@ -0,0 +1,8 @@ +contract C { + event e(); + function f() public { + e(); + } +} +// ---- +// Warning: (62-65): Invoking events without "emit" prefix is deprecated. |