aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr145963/AspectInDefaultPackage.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs152/pr145963/AspectInDefaultPackage.aj')
-rw-r--r--tests/bugs152/pr145963/AspectInDefaultPackage.aj18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs152/pr145963/AspectInDefaultPackage.aj b/tests/bugs152/pr145963/AspectInDefaultPackage.aj
new file mode 100644
index 000000000..88d2e00a8
--- /dev/null
+++ b/tests/bugs152/pr145963/AspectInDefaultPackage.aj
@@ -0,0 +1,18 @@
+
+public aspect AspectInDefaultPackage {
+
+ public pointcut execM1() : execution(* pack.C.method1(..));
+ public pointcut execM2() : execution(* pack.C.method2(..));
+
+ before() : execM1() && this(pack.C) {
+ }
+
+ before() : execM2() || execM1() {
+ }
+
+ before() : execution(* pack.C.method1()) {
+ }
+
+
+
+}