mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-14 02:10:40 +02:00
13 lines
413 B
Java
13 lines
413 B
Java
|
|
public class AmbiguousClassReference4CE {
|
|
|
|
/** @testcase PR#701 PUREJAVA CE for ambiguous type reference (two inner types)
|
|
* see also testcase PR#631 */
|
|
public static void main(String[] args) {
|
|
throw new Error("Expecting compiler error, not compile/run");
|
|
}
|
|
static class Foo {} // CE: "duplicate type name"
|
|
static interface Foo {} // CE: "duplicate type name"
|
|
}
|
|
|