aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bugs163/pr256458/Code.java7
-rw-r--r--tests/bugs163/pr256458/Code2.java10
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs163/pr256458/Code.java b/tests/bugs163/pr256458/Code.java
new file mode 100644
index 000000000..c2dd54de2
--- /dev/null
+++ b/tests/bugs163/pr256458/Code.java
@@ -0,0 +1,7 @@
+import org.aspectj.lang.annotation.*;
+
+@Aspect
+public class Code {
+ @Before("if(37!=42)")
+ public void runme() {}
+}
diff --git a/tests/bugs163/pr256458/Code2.java b/tests/bugs163/pr256458/Code2.java
new file mode 100644
index 000000000..eed38b6a3
--- /dev/null
+++ b/tests/bugs163/pr256458/Code2.java
@@ -0,0 +1,10 @@
+import org.aspectj.lang.annotation.*;
+
+@Aspect
+public class Code2 {
+
+ @Around("execution(* Code.*(..)) && if(java.lang.System.currentTimeMillis() > 1)")
+ public void foo() {
+ }
+
+}