~ubuntu-branches/ubuntu/natty/aspectj/natty

« back to all changes in this revision

Viewing changes to org.aspectj/modules/tests/errors/SubAspectsCantExtendNonAbstractAspects.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2009-10-04 16:37:23 UTC
  • mfrom: (1.1.3 upstream) (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091004163723-ck4y7j7fhjxskkie
Tags: 1.6.6+dfsg-1
* New upstream release.
  - Update 02_use_gjdoc.diff patch
* Update my email address

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
public class SubAspectsCantExtendNonAbstractAspects {
2
 
    public static void main(String[] args) {
3
 
    }
4
 
}
5
 
 
6
 
class C {}
7
 
 
8
 
aspect A /*of eachobject(instanceof(C))*/ {
9
 
    before(): call(* *(..)) {}
10
 
}
11
 
 
12
 
 
13
 
//ERROR: can't extend a concrete aspect
14
 
aspect SubA extends A {
15
 
}