diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol | 4 |
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". |