]> source.dussan.org Git - aspectj.git/commitdiff
307147: testcode
authoraclement <aclement>
Fri, 26 Mar 2010 19:33:08 +0000 (19:33 +0000)
committeraclement <aclement>
Fri, 26 Mar 2010 19:33:08 +0000 (19:33 +0000)
tests/bugs169/pr307147/B.java [new file with mode: 0644]
tests/bugs169/pr307147/Test2.java [new file with mode: 0644]

diff --git a/tests/bugs169/pr307147/B.java b/tests/bugs169/pr307147/B.java
new file mode 100644 (file)
index 0000000..49c8cbd
--- /dev/null
@@ -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 (file)
index 0000000..5b0a5e0
--- /dev/null
@@ -0,0 +1,10 @@
+privileged
+aspect Test {
+       
+       before(): call(* m(..)) {}
+       
+       public void B.getFoo() {
+          m();
+        }
+
+}