aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169
diff options
context:
space:
mode:
authoraclement <aclement>2010-03-22 19:16:34 +0000
committeraclement <aclement>2010-03-22 19:16:34 +0000
commitb95d3f555fc067c62ba763d6d891061e9caa653b (patch)
treebcd84095a87fab076730a79b84766c4ff18f9291 /tests/bugs169
parent7579d32b26596d041cf58c29203a40fe74aa716f (diff)
downloadaspectj-b95d3f555fc067c62ba763d6d891061e9caa653b.tar.gz
aspectj-b95d3f555fc067c62ba763d6d891061e9caa653b.zip
292262: testcode
Diffstat (limited to 'tests/bugs169')
-rw-r--r--tests/bugs169/pr292262/A.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs169/pr292262/A.java b/tests/bugs169/pr292262/A.java
new file mode 100644
index 000000000..4c7b1fd47
--- /dev/null
+++ b/tests/bugs169/pr292262/A.java
@@ -0,0 +1,11 @@
+package pkg;
+
+public class A {
+
+}
+
+aspect X {
+ declare warning: staticinitialization(*) && if(!thisEnclosingJoinPoint.toString().equals("abc")): "Foobar {joinpoint}";
+ // before(): staticinitialization(*) && if(!thisEnclosingJoinPointStaticPart.getPackage().equals(thisJoinPoint.getPackage())) {}
+ //declare warning: staticinitialization(*) && if(true): "Foobar {joinpoint}";
+}