diff options
Diffstat (limited to 'tests/bugs/EllipsesStar.java')
-rw-r--r-- | tests/bugs/EllipsesStar.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs/EllipsesStar.java b/tests/bugs/EllipsesStar.java new file mode 100644 index 000000000..940db8a86 --- /dev/null +++ b/tests/bugs/EllipsesStar.java @@ -0,0 +1,13 @@ +// Name patterns can't end with '..' +aspect A { + pointcut endsDot(): call(* java.(..)); + pointcut p1(): call(* java.lang..(..)); + pointcut p2(): call((Integer || java.lang..) m(..)); + pointcut p3(): call(* m() throws java.lang..); + + pointcut p4(): call(* a..b..c..d..(..)); + + pointcut p5(): call(* a....(..)); + + pointcut p6(): call(java. m()); +}
\ No newline at end of file |