mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
16 lines
298 B
Java
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
|
|
}
|