aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj/coverage/Test008.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/ataspectj/coverage/Test008.java')
-rw-r--r--tests/java5/ataspectj/coverage/Test008.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/java5/ataspectj/coverage/Test008.java b/tests/java5/ataspectj/coverage/Test008.java
new file mode 100644
index 000000000..54c3c5f14
--- /dev/null
+++ b/tests/java5/ataspectj/coverage/Test008.java
@@ -0,0 +1,13 @@
+// "@Pointcut not returning void"
+
+
+import org.aspectj.lang.annotation.*;
+
+
+@Aspect
+class A{
+ @Pointcut("call(* *.*(..))")
+ int someCall(){
+ return 42;
+ }
+}