diff options
author | aclement <aclement> | 2006-02-16 09:33:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-02-16 09:33:38 +0000 |
commit | d4219e12eaa86ed810392364931a92324dc2a67f (patch) | |
tree | e31da2708fe3663656d04ba27ec9d6f5f8a0dad4 /tests/bugs151 | |
parent | 15930e7f92e2d4be1866509a8550373a4bcea978 (diff) | |
download | aspectj-d4219e12eaa86ed810392364931a92324dc2a67f.tar.gz aspectj-d4219e12eaa86ed810392364931a92324dc2a67f.zip |
test and fix for 121616
Diffstat (limited to 'tests/bugs151')
-rw-r--r-- | tests/bugs151/pr121616.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs151/pr121616.java b/tests/bugs151/pr121616.java new file mode 100644 index 000000000..656260112 --- /dev/null +++ b/tests/bugs151/pr121616.java @@ -0,0 +1,16 @@ +import org.aspectj.lang.annotation.Aspect; +import org.aspectj.lang.annotation.Before; + +class Main { + public static void main(String[] args) { + System.out.println("Main"); + } +} + +@Aspect +class MainLogger { + @Before("execution(* main(..))") + public void log(JoinPoint thisJoinPoint) { + System.out.println("Before " + thisJoinPoint); + } +} |