summaryrefslogtreecommitdiffstats
path: root/tests/errors/InstanceofWithoutClass.java
blob: cd9266e77b0e774e882a008f34b746418e91360b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import org.aspectj.testing.Tester;

// PR#271 instanceof used without a class

public class InstanceofWithoutClass {
  
    public static void main(String[] args){
        new InstanceofWithoutClass().go();
    }

    void go() { }

    pointcut t(): this() && call(void go());
}