diff options
author | jhugunin <jhugunin> | 2003-08-04 21:04:49 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-08-04 21:04:49 +0000 |
commit | 29457c3d6d0b4cd7cca1d2867e6bd80a56a24722 (patch) | |
tree | 39c61e209f18d80a32c50220199ffcd75e4f237b /tests/bugs/AbstractPointcutCE.java | |
parent | 57445dd3ec8a67d06f16fe02e7c0eaefb8ea4051 (diff) | |
download | aspectj-29457c3d6d0b4cd7cca1d2867e6bd80a56a24722.tar.gz aspectj-29457c3d6d0b4cd7cca1d2867e6bd80a56a24722.zip |
fixes for Bugzilla Bug 40858
super-qualified pointcut reference cause weaver stack trace
and Bugzilla Bug 40814
no error when defining interface pointcuts
Diffstat (limited to 'tests/bugs/AbstractPointcutCE.java')
-rw-r--r-- | tests/bugs/AbstractPointcutCE.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs/AbstractPointcutCE.java b/tests/bugs/AbstractPointcutCE.java new file mode 100644 index 000000000..898a72b0a --- /dev/null +++ b/tests/bugs/AbstractPointcutCE.java @@ -0,0 +1,16 @@ + + +/** @testcase PR#40814 compile error expected for pointcuts in interfaces + * revised to check for error on abstract pointcuts in interfaces or classes + **/ +interface I { + abstract pointcut pc(); // CE +} + +abstract class C { + abstract pointcut pc(); // CE +} + +class Concrete { + abstract pointcut pc(); // CE +} |