mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-16 14:10:51 +02:00
21 lines
337 B
Java
21 lines
337 B
Java
package p;
|
|
|
|
// This class does *nothing* clever, but does match the advice in X
|
|
|
|
public class A {
|
|
|
|
public A() {
|
|
}
|
|
|
|
public static void main(String[] argv) {
|
|
A anA = new A();
|
|
anA.sayhi();
|
|
anA.sayhi();
|
|
|
|
System.err.println("Tests in A have passed");
|
|
}
|
|
|
|
public void sayhi() { System.err.println("hi from A"); }
|
|
|
|
}
|