aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr262218/base/src/test2/OtherClass2.aj
blob: 5922fa9315ad0f382d2eabc1d66f2fcb8d30df6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package test2;

import test.Demo;

public class OtherClass2 {
    void x() {
        Demo d = new Demo(4); 
        d.bar(); 
        d.baz();
        // causes error for now see note at end of AJCompilationUnitProblemFinder.isARealProblem
//        ((MyAspect2.Bar) d).bar();
        ((MyAspect2.Foo) d).baz();
        ((Cloneable) d).toString();
    } 
}