diff options
author | acolyer <acolyer> | 2005-08-19 19:51:32 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-19 19:51:32 +0000 |
commit | 93fdce17441da20b66f6db665db9d9272adda09c (patch) | |
tree | fcf5af19f7ecc443651b8aa90b1c466d6ea46402 /tests/bugs150/pr79523.aj | |
parent | 7b325703558284f5dbf21c5e94b1ffc76e4e382c (diff) | |
download | aspectj-93fdce17441da20b66f6db665db9d9272adda09c.tar.gz aspectj-93fdce17441da20b66f6db665db9d9272adda09c.zip |
fix and test case for pr79523: BCException: illegal change to pointcut declaration: calls(<nothing>)
Diffstat (limited to 'tests/bugs150/pr79523.aj')
-rw-r--r-- | tests/bugs150/pr79523.aj | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/bugs150/pr79523.aj b/tests/bugs150/pr79523.aj new file mode 100644 index 000000000..6456b002c --- /dev/null +++ b/tests/bugs150/pr79523.aj @@ -0,0 +1,6 @@ +public aspect pr79523 { + + pointcut someCalls(String str) : call(*.new(String)) && args(str); + declare warning : someCalls(str) : "not allowed"; // CE L 4 + +}
\ No newline at end of file |