summaryrefslogtreecommitdiffstats
path: root/tests/bugs151/pr124803/TestAspect2.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs151/pr124803/TestAspect2.java')
-rw-r--r--tests/bugs151/pr124803/TestAspect2.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bugs151/pr124803/TestAspect2.java b/tests/bugs151/pr124803/TestAspect2.java
new file mode 100644
index 000000000..62d7ab513
--- /dev/null
+++ b/tests/bugs151/pr124803/TestAspect2.java
@@ -0,0 +1,8 @@
+public privileged aspect TestAspect2 {
+ pointcut TestInheritance(Test2 test) : target(test) && execution (* Generic1.*(..));
+
+ after (Test2 test) : TestInheritance(test) {
+ System.err.println("Aspects:"+thisJoinPoint);
+ }
+}
+