镜像来自
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
16 line
298 B
Java
16 line
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
|
|
}
|