You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ArrayFieldDeclarationCE.java 298B

123456789101112131415
  1. /** @testcase PR#829 CE expected when declaring fields on arrays */
  2. public class ArrayFieldDeclarationCE {
  3. public static void main(String[] args) {
  4. throw new Error("should not run");
  5. }
  6. }
  7. class C { }
  8. aspect A {
  9. public int C[].foo; // CE 14 cannot declare fields on arrays
  10. }