aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs162/pr246918/Base2.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs162/pr246918/Base2.java')
-rw-r--r--tests/bugs162/pr246918/Base2.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bugs162/pr246918/Base2.java b/tests/bugs162/pr246918/Base2.java
new file mode 100644
index 000000000..c68a85e7b
--- /dev/null
+++ b/tests/bugs162/pr246918/Base2.java
@@ -0,0 +1,8 @@
+public abstract aspect Base2 pertypewithin(*) {
+ abstract pointcut scope();
+
+ before(): execution(* *(..)) && !within(Base2+) && scope() {
+ System.err.println("advice fired "+thisJoinPoint.getSourceLocation().getWithinType());
+ }
+}
+