aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol')
-rw-r--r--test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol
new file mode 100644
index 00000000..abf46f94
--- /dev/null
+++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/090_event_call.sol
@@ -0,0 +1,6 @@
+contract c {
+ event e(uint a, bytes3 indexed s, bool indexed b);
+ function f() public { e(2, "abc", true); }
+}
+// ----
+// Warning: (94-111): Invoking events without "emit" prefix is deprecated.