diff options
Diffstat (limited to 'tests/bugs/CircularAdvicePrecedence.java')
-rw-r--r-- | tests/bugs/CircularAdvicePrecedence.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs/CircularAdvicePrecedence.java b/tests/bugs/CircularAdvicePrecedence.java new file mode 100644 index 000000000..99313c752 --- /dev/null +++ b/tests/bugs/CircularAdvicePrecedence.java @@ -0,0 +1,13 @@ +// bug 44272 +public aspect CircularAdvicePrecedence { + pointcut crun() : execution (void run()) ; + before() : crun() {} + after() returning : crun() {} + void around() : crun() { proceed(); } +} + +class Runner { + + public void run() {} + +}
\ No newline at end of file |