blob: 95ff540c004967eebd8d81f47513e71468023d5b [file] [log] [blame]
/*
* @test /nodynamiccopyright/
* @bug 8012722
* @summary Single comma in array initializer should parse
* @compile/fail/ref=SingleCommaAnnotationValueFail.out -XDrawDiagnostics
* SingleCommaAnnotationValueFail.java
*/
public class SingleCommaAnnotationValueFail {
// Non-example
@Foo({,0}) void a() { }
}
@interface Foo { int[] value(); }