diff options
author | aclement <aclement> | 2006-03-17 16:47:06 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-03-17 16:47:06 +0000 |
commit | 9dca72e7c63a5623f3d442bf43bb88810368a65a (patch) | |
tree | 1bd437e1ae0a60a350fb0bcb7399b7e39d8cec2e /tests/bugs151 | |
parent | 95b9c8d913732532cf636aad8ba1afc3b471de7d (diff) | |
download | aspectj-9dca72e7c63a5623f3d442bf43bb88810368a65a.tar.gz aspectj-9dca72e7c63a5623f3d442bf43bb88810368a65a.zip |
test and fix for 132130
Diffstat (limited to 'tests/bugs151')
-rw-r--r-- | tests/bugs151/pr132130.aj | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs151/pr132130.aj b/tests/bugs151/pr132130.aj new file mode 100644 index 000000000..3259d7232 --- /dev/null +++ b/tests/bugs151/pr132130.aj @@ -0,0 +1,17 @@ + aspect basic { + + declare @method : * debit(..) : @Secured(role="supervisor"); + declare @constructor : BankAccount+.new(..) : @Secured(role="supervisor"); +} + +class BankAccount { + + public BankAccount(String s, int i) { + } + public void debit(long accId,long amount) { + } +} + +@interface Secured { + String role(); +} |