aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/AspectInterfaces.java
blob: 0bccb0593a4618806785a7ab29eebbeb246edfb5 (plain)
1
2
3
4
5
6
7
8
9
public class AspectInterfaces {
}

aspect SerAspect implements java.io.Serializable {} //ERR: can't implement Ser
aspect CloneAspect implements Cloneable {} //ERR: can't implement Clone

class C implements java.io.Serializable { }

aspect Ser1Aspect extends C {} //ERR: can't extend a class that implements Ser