aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-06-29 20:55:44 +0800
committerErik Kundt <bitshift@posteo.org>2018-06-29 22:26:18 +0800
commitf3ca0685feb4b8d499914a3c1ff9432d4cef4b7e (patch)
tree4e28ae068e58badda1f684617d661990a2dec850 /test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol
parente289c36158701ba0b874051e9e426e270b0e38e2 (diff)
downloaddexon-solidity-f3ca0685feb4b8d499914a3c1ff9432d4cef4b7e.tar
dexon-solidity-f3ca0685feb4b8d499914a3c1ff9432d4cef4b7e.tar.gz
dexon-solidity-f3ca0685feb4b8d499914a3c1ff9432d4cef4b7e.tar.bz2
dexon-solidity-f3ca0685feb4b8d499914a3c1ff9432d4cef4b7e.tar.lz
dexon-solidity-f3ca0685feb4b8d499914a3c1ff9432d4cef4b7e.tar.xz
dexon-solidity-f3ca0685feb4b8d499914a3c1ff9432d4cef4b7e.tar.zst
dexon-solidity-f3ca0685feb4b8d499914a3c1ff9432d4cef4b7e.zip
Updates syntax tests to specify default visibility.
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol b/test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol
index 602c26ed..606f59d7 100644
--- a/test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol
+++ b/test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol
@@ -1,9 +1,7 @@
contract c {
enum validEnum { Value1, Value2, Value3, Value4 }
- constructor() {
+ constructor() public {
a = validEnum.Value3;
}
validEnum a;
}
-// ----
-// Warning: (71-122): No visibility specified. Defaulting to "public".