Skip to content

Commit 6018d68

Browse files
committed
test: annotations before an array's bracket
1 parent b065740 commit 6018d68

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

test/corpus/expressions.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,3 +1986,28 @@ try {
19861986
(type_identifier)))
19871987
(identifier))
19881988
(block))))
1989+
1990+
================================================================================
1991+
Annotations before an array's bracket
1992+
================================================================================
1993+
1994+
void foo(int @Foo @Bar [] x) {
1995+
}
1996+
1997+
---
1998+
1999+
(program
2000+
(method_declaration
2001+
(void_type)
2002+
(identifier)
2003+
(formal_parameters
2004+
(formal_parameter
2005+
(array_type
2006+
(integral_type)
2007+
(dimensions
2008+
(marker_annotation
2009+
(identifier))
2010+
(marker_annotation
2011+
(identifier))))
2012+
(identifier)))
2013+
(block)))

0 commit comments

Comments
 (0)