org.aspectj/tests/new/ArrayFieldDeclarationCE.java
2002-12-16 18:51:06 +00:00

16 lines
298 B
Java

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