浏览代码

?? regenerated file missing from my system but used in test case

tags/v1_1_0_RC1
wisberg 21 年前
父节点
当前提交
f76921c5e0
共有 1 个文件被更改,包括 23 次插入0 次删除
  1. 23
    0
      tests/errors/ClassExtendingAbstractAspectCE.java

+ 23
- 0
tests/errors/ClassExtendingAbstractAspectCE.java 查看文件

@@ -0,0 +1,23 @@
import org.aspectj.testing.*;

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

void go(String[] args) {
Extends e = new Extends();
Tester.check(false, "shouldn't have compiled!");
}

}

abstract aspect Aspect {

}


class Extends extends Aspect { // CE 20
pointcut p(): call(* *());
}


正在加载...
取消
保存