org.aspectj/tests/new/ArrayFieldDeclarationCE.java

16 lines
298 B
Java
Raw Normal View History

2002-12-16 19:51:06 +01:00
/** @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
}