@@ -0,0 +1,453 @@
+/**%0A * Check that we reject %22int foo; foo = new int%5B3%5D%5B3%5D%22.%0A *%0A * @author Elvis Stansvik %3Celvstone@gmail.com%3E%0A */%0Aclass ArrayAccessOnNewArray %7B%0A    public static void main(String%5B%5D args) %7B%0A        // In Java this is syntactically OK but a type error.%0A        // In MiniJava we reject it at parsing time since there's%0A        // no reasonable semantic interpretation (no multidimensional%0A        // arrays).%0A        int foo; foo = new int%5B3%5D%5B3%5D;%0A    %7D%0A%7D%0A

Add ArrayAccessOnNewArray.java as a shared noncompile test.