summaryrefslogtreecommitdiffstats
path: root/tests/bugs192/535156/DemoApp2.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs192/535156/DemoApp2.java')
-rw-r--r--tests/bugs192/535156/DemoApp2.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/bugs192/535156/DemoApp2.java b/tests/bugs192/535156/DemoApp2.java
new file mode 100644
index 000000000..d48201be1
--- /dev/null
+++ b/tests/bugs192/535156/DemoApp2.java
@@ -0,0 +1,15 @@
+import org.aspectj.lang.annotation.*;
+
+public class DemoApp2 {
+ public static void main(String[]argv) {}
+ private void recurseInsteadOfWhile() {
+ say();
+ }
+
+ public void say() { }
+}
+
+aspect X {
+ void around(): call(public void DemoApp2+.say(..)) {
+ }
+}