test case for

public void createNonNullArray() {
		return new MetaColumn @NonNull [value];
	}
This commit is contained in:
snap252
2017-05-30 14:13:38 +02:00
parent b5474cdcf8
commit 7997297e0b
2 changed files with 5 additions and 1 deletions

View File

@ -1921,7 +1921,7 @@ void AllocationExpression():
(LOOKAHEAD(2) (LOOKAHEAD(2)
PrimitiveType() ArrayDimsAndInits() PrimitiveType() ArrayDimsAndInits()
| |
ClassOrInterfaceType() [ TypeArguments() ] ClassOrInterfaceType() ((Annotation() {checkForBadTypeAnnotations();})*) [ TypeArguments() ]
( (
ArrayDimsAndInits() ArrayDimsAndInits()
| |

View File

@ -180,6 +180,10 @@ public class ParserCornerCases18 {
public static <T extends @NonNull Enum<T>> getEnum() { public static <T extends @NonNull Enum<T>> getEnum() {
return null; return null;
} }
public void createNonNullArray() {
return new MetaColumn @NonNull [value];
}
/** /**