diff options
author | acolyer <acolyer> | 2005-08-12 11:43:38 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-12 11:43:38 +0000 |
commit | fe02f87368665c4f014e0be4525ed2d443967037 (patch) | |
tree | 8e000a9fb309298b14af29a199f879c0f65d1732 /tests/bugs150 | |
parent | fcb69e778830899386023f587e0837b7e921e04e (diff) | |
download | aspectj-fe02f87368665c4f014e0be4525ed2d443967037.tar.gz aspectj-fe02f87368665c4f014e0be4525ed2d443967037.zip |
test case and fix for (.....)+ type pattern parsing
Diffstat (limited to 'tests/bugs150')
-rw-r--r-- | tests/bugs150/AnnotationPlusPatternParseError.aj | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/bugs150/AnnotationPlusPatternParseError.aj b/tests/bugs150/AnnotationPlusPatternParseError.aj new file mode 100644 index 000000000..0c22916ee --- /dev/null +++ b/tests/bugs150/AnnotationPlusPatternParseError.aj @@ -0,0 +1,24 @@ +import java.lang.annotation.*; + +public aspect AnnotationPlusPatternParseError { + + pointcut bar() : call(* (@MemberOfMonitoredSet *)+.*(..)); + + declare warning : bar() : "humbug"; + +} + +@interface MemberOfMonitoredSet {} + +@MemberOfMonitoredSet +interface I {} + +class C implements I { + + void bar() { + foo(); + } + + public void foo() {}; + +}
\ No newline at end of file |