diff options
Diffstat (limited to 'tests/java5/ataspectj/coverage/Test011.java')
-rw-r--r-- | tests/java5/ataspectj/coverage/Test011.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/java5/ataspectj/coverage/Test011.java b/tests/java5/ataspectj/coverage/Test011.java new file mode 100644 index 000000000..ab4c427e3 --- /dev/null +++ b/tests/java5/ataspectj/coverage/Test011.java @@ -0,0 +1,11 @@ +// "@Pointcut on non-aspect class method" + +// I dont think this test is valid, you can have pointcuts in classes + +import org.aspectj.lang.annotation.*; + +class A{ + @Pointcut("call(* *.*(..))") + void someCall(){ + } +} |