diff options
Diffstat (limited to 'tests/bugs162')
-rw-r--r-- | tests/bugs162/pr209051/Bug.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/bugs162/pr209051/Bug.java b/tests/bugs162/pr209051/Bug.java deleted file mode 100644 index ac1bf7b8e..000000000 --- a/tests/bugs162/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) {} -} - |