diff options
author | aclement <aclement> | 2006-05-30 09:59:53 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-05-30 09:59:53 +0000 |
commit | 26a8a862994acefb10a57d561b18c94ffeba41a4 (patch) | |
tree | 49791e4148a73d090e0c34fd22ab8ad9951ca137 /tests/bugs152 | |
parent | 9eb7fa0bc21878bfd2c0251afb4001b5eb55e346 (diff) | |
download | aspectj-26a8a862994acefb10a57d561b18c94ffeba41a4.tar.gz aspectj-26a8a862994acefb10a57d561b18c94ffeba41a4.zip |
test and fixes for 143930, 143924
Diffstat (limited to 'tests/bugs152')
-rw-r--r-- | tests/bugs152/pr143924.aj | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs152/pr143924.aj b/tests/bugs152/pr143924.aj new file mode 100644 index 000000000..7ea1e8d24 --- /dev/null +++ b/tests/bugs152/pr143924.aj @@ -0,0 +1,13 @@ +aspect DeclareAnnotation { + declare @method : * debit(..) : @Secured(role="supervisor"); +} + +class BankAccount { + + public void debit(String accId,long amount) { + } +} + +@interface Secured { + String role(); +} |