summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr121385/A.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs150/pr121385/A.java')
-rw-r--r--tests/bugs150/pr121385/A.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs150/pr121385/A.java b/tests/bugs150/pr121385/A.java
new file mode 100644
index 000000000..fd94e0a30
--- /dev/null
+++ b/tests/bugs150/pr121385/A.java
@@ -0,0 +1,16 @@
+import org.aspectj.lang.annotation.*;
+
+ abstract aspect X {
+ void around(): execution(* foo(..)) {}
+}
+
+
+@Aspect class B extends X { }
+
+public class A {
+ public void foo() { }
+
+public static void main(String []argv) {
+ new A().foo();
+}
+}