aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/emit_non_event.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/emit_non_event.sol')
-rw-r--r--test/libsolidity/syntaxTests/emit_non_event.sol6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/emit_non_event.sol b/test/libsolidity/syntaxTests/emit_non_event.sol
index 1df6990d..d5045ddf 100644
--- a/test/libsolidity/syntaxTests/emit_non_event.sol
+++ b/test/libsolidity/syntaxTests/emit_non_event.sol
@@ -1,10 +1,10 @@
contract C {
uint256 Test;
- function f() {
+ function f() public {
emit Test();
}
}
// ----
-// TypeError: (56-62): Type is not callable
-// TypeError: (56-60): Expression has to be an event invocation.
+// TypeError: (63-69): Type is not callable
+// TypeError: (63-67): Expression has to be an event invocation.