aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/emit_non_event.sol
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-07-02 23:47:48 +0800
committerErik Kundt <bitshift@posteo.org>2018-07-04 16:45:59 +0800
commit2e0d019ef09ac4f168a4e528f8b4a051a942a479 (patch)
treeeff18ba14670133da9c777fb446bc94e2ea0a2cb /test/libsolidity/syntaxTests/emit_non_event.sol
parent533d5d4b1cc4374decc704de8c86ad4cef6214fc (diff)
downloaddexon-solidity-2e0d019ef09ac4f168a4e528f8b4a051a942a479.tar.gz
dexon-solidity-2e0d019ef09ac4f168a4e528f8b4a051a942a479.tar.zst
dexon-solidity-2e0d019ef09ac4f168a4e528f8b4a051a942a479.zip
Adds default visibility specifier to syntax tests.
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.