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