test/tools/javac/typeAnnotations/failures/OldArray.java

changeset 311
464d58654324
parent 309
664edca41e34
child 323
14b1a8ede954
equal deleted inserted replaced
310:7c154fdc3547 311:464d58654324
24 /* 24 /*
25 * @test 25 * @test
26 * @bug 6843077 26 * @bug 6843077
27 * @summary test old array syntax 27 * @summary test old array syntax
28 * @author Mahmood Ali 28 * @author Mahmood Ali
29 * @compile/fail/ref=OldArray.out -XDrawDiagnostics -source 1.7 OldArray.java 29 * @compile/fail -XDrawDiagnostics -source 1.7 OldArray.java
30 */ 30 */
31 class OldArray { 31 class OldArray {
32 String [@A] s() { return null; } 32 String [@A] s() { return null; }
33 } 33 }
34 34

mercurial