aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169
diff options
context:
space:
mode:
authoraclement <aclement>2010-03-26 19:33:08 +0000
committeraclement <aclement>2010-03-26 19:33:08 +0000
commit5f71d71ca445298efb9fafcdabd6a026c197453b (patch)
treed16321f280b817562dd42256e3405af47ab5eccd /tests/bugs169
parent9a6948be9bf548c28747d19a2547e04808ffbb64 (diff)
downloadaspectj-5f71d71ca445298efb9fafcdabd6a026c197453b.tar.gz
aspectj-5f71d71ca445298efb9fafcdabd6a026c197453b.zip
307147: testcode
Diffstat (limited to 'tests/bugs169')
-rw-r--r--tests/bugs169/pr307147/B.java3
-rw-r--r--tests/bugs169/pr307147/Test2.java10
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs169/pr307147/B.java b/tests/bugs169/pr307147/B.java
new file mode 100644
index 000000000..49c8cbd7f
--- /dev/null
+++ b/tests/bugs169/pr307147/B.java
@@ -0,0 +1,3 @@
+public class B {
+ private void m() {}
+}
diff --git a/tests/bugs169/pr307147/Test2.java b/tests/bugs169/pr307147/Test2.java
new file mode 100644
index 000000000..5b0a5e058
--- /dev/null
+++ b/tests/bugs169/pr307147/Test2.java
@@ -0,0 +1,10 @@
+privileged
+aspect Test {
+
+ before(): call(* m(..)) {}
+
+ public void B.getFoo() {
+ m();
+ }
+
+}