This is an automated email from the ASF dual-hosted git repository. sunlan pushed a commit to branch GROOVY_3_0_X in repository https://gitbox.apache.org/repos/asf/groovy.git
commit ee6b767a755beec2271e2522a769610b32fdb741 Author: Daniel Sun <[email protected]> AuthorDate: Tue Nov 5 02:32:08 2019 +0800 Add more tests (cherry picked from commit 502655371ad936ebcf4012195acf4b5e873ed10d) --- .../test/resources/core/EnumDeclaration_02.groovy | 27 +++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/subprojects/parser-antlr4/src/test/resources/core/EnumDeclaration_02.groovy b/subprojects/parser-antlr4/src/test/resources/core/EnumDeclaration_02.groovy index a5768db..b4d8d13 100644 --- a/subprojects/parser-antlr4/src/test/resources/core/EnumDeclaration_02.groovy +++ b/subprojects/parser-antlr4/src/test/resources/core/EnumDeclaration_02.groovy @@ -67,4 +67,29 @@ enum F { enum G implements I<T> { -} \ No newline at end of file +} + +enum J { + A, + B, +} + +enum K { + A, + B, + ; +} + +enum Outer { + A, B + enum Inner{X, Y} +} + +class TestClass { + enum OuterEnum { + VALUE, + enum InnerEnum { + A + } + } +}
