mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-14 14:11:27 +02:00
25 lines
434 B
Java
25 lines
434 B
Java
/**
|
|
* PR#538
|
|
* Would be useful to add a Cp version
|
|
*/
|
|
|
|
public class InnerNameConflictsCf {
|
|
class Inner {}
|
|
public static void main(String[] args) {
|
|
new Inner(); //ERR: no this
|
|
}
|
|
}
|
|
|
|
class Base {
|
|
static class Base {} //ERR: repeated name
|
|
}
|
|
|
|
class Outer {
|
|
class Inner {
|
|
class Inner2 {
|
|
class Outer {} //ERR: repeated name
|
|
class Inner {} //ERR: repeated name
|
|
}
|
|
}
|
|
}
|