aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs172/pr398246/Code5a.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs172/pr398246/Code5a.java')
-rw-r--r--tests/bugs172/pr398246/Code5a.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/bugs172/pr398246/Code5a.java b/tests/bugs172/pr398246/Code5a.java
new file mode 100644
index 000000000..0f5562640
--- /dev/null
+++ b/tests/bugs172/pr398246/Code5a.java
@@ -0,0 +1,25 @@
+import java.lang.annotation.*;
+
+public class Code5a {
+ public static boolean isTrue = true;
+
+ public void m() {
+ }
+ public static void main(String []argv) {
+ new Code5a().m();
+ }
+}
+
+
+// more white space, on purpose
+
+
+
+aspect X2 {
+
+
+ pointcut p(): execution(* Code*.*(..)) && if(Code5.isTrue);
+ before(): p() {
+ System.out.println("advice");
+ }
+}