summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr83377.aj
blob: 821778c635bf8ee886f9fb7a1479a5a391f18494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
interface I extends Cloneable {
    public Object clone (); 
}

class C implements I {
//	public Object clone() {return this;}
	
}

privileged aspect A {
    declare parents : C implements java.lang.Cloneable;
    
	public Object C.clone () {
    	return null;
    }
}