test/tools/javac/varargs/6569633/T6569633.java

changeset 0
959103a6100f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/javac/varargs/6569633/T6569633.java	Wed Apr 27 01:34:52 2016 +0800
     1.3 @@ -0,0 +1,13 @@
     1.4 +/*
     1.5 + * @test /nodynamiccopyright/
     1.6 + * @bug     6569633
     1.7 + * @author mcimadamore
     1.8 + * @summary  Varargs: parser error when varargs element type is an array
     1.9 + * @compile/fail/ref=T6569633.out -XDrawDiagnostics T6569633.java
    1.10 + */
    1.11 +
    1.12 +class T6569633 {
    1.13 +    void  m1 (Integer... i[]) { }
    1.14 +    void  m2 (Integer[]... i) { }
    1.15 +    void  m3 (Integer[]... i[]) { }
    1.16 +}

mercurial