diff options
author | aclement <aclement> | 2008-08-26 16:56:24 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-26 16:56:24 +0000 |
commit | 931f402393ec81dfb03712093ee8f1fd67055a04 (patch) | |
tree | f023247d257f6ba5090f42189c45b6b95878e0c0 /tests/bugs154 | |
parent | f15adf56f32d3d293bdab55b6f45902c8ee7e7d5 (diff) | |
download | aspectj-931f402393ec81dfb03712093ee8f1fd67055a04.tar.gz aspectj-931f402393ec81dfb03712093ee8f1fd67055a04.zip |
moved to 162
Diffstat (limited to 'tests/bugs154')
-rw-r--r-- | tests/bugs154/pr209051/Bug.java | 21 | ||||
-rw-r--r-- | tests/bugs154/pr209051/Bug2.java | 10 |
2 files changed, 0 insertions, 31 deletions
diff --git a/tests/bugs154/pr209051/Bug.java b/tests/bugs154/pr209051/Bug.java deleted file mode 100644 index ac1bf7b8e..000000000 --- a/tests/bugs154/pr209051/Bug.java +++ /dev/null @@ -1,21 +0,0 @@ -import org.aspectj.lang.annotation.*; - -public @Aspect class Bug { - @Pointcut("args(i) && if() && within(Foo)") - public static boolean pc(int i) { - return i < 0; - } - - @Before("pc(*)") - public void advice() { System.out.println("advice running");} - - public static void main(String []argv) { - new Foo().trigger(-1); - new Foo().trigger(+1); - } -} - -class Foo { - public void trigger(int i) {} -} - diff --git a/tests/bugs154/pr209051/Bug2.java b/tests/bugs154/pr209051/Bug2.java deleted file mode 100644 index b37a3478b..000000000 --- a/tests/bugs154/pr209051/Bug2.java +++ /dev/null @@ -1,10 +0,0 @@ -import org.aspectj.lang.annotation.*; - -public aspect Bug2 { - pointcut pc(int i): args(i) && if(i<0); - - before(): pc(*) { - } - - public void trigger(int i) {} -} |