aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs190/various/Code.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs190/various/Code.java')
-rw-r--r--tests/bugs190/various/Code.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs190/various/Code.java b/tests/bugs190/various/Code.java
new file mode 100644
index 000000000..8285ca3d8
--- /dev/null
+++ b/tests/bugs190/various/Code.java
@@ -0,0 +1,11 @@
+public class Code {
+ public static void main(String []argv) {
+ System.out.println("running");
+ }
+}
+
+aspect X{
+ before(): call(* println(..)) && !within(X) {
+ System.out.println(thisJoinPoint);
+ }
+}