diff options
author | wisberg <wisberg> | 2005-01-31 11:53:38 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2005-01-31 11:53:38 +0000 |
commit | 82c45963d7c28080668a5b19a8bdb2fc29e15342 (patch) | |
tree | d1d3542adb71896e8df7eb305b75a8b1bcc46c64 /tests/bugs | |
parent | 41caa4137c20d581079192659bf43d731aff669f (diff) | |
download | aspectj-82c45963d7c28080668a5b19a8bdb2fc29e15342.tar.gz aspectj-82c45963d7c28080668a5b19a8bdb2fc29e15342.zip |
@testcase PR#84033 incremental declare error persists after fix
Diffstat (limited to 'tests/bugs')
-rw-r--r-- | tests/bugs/incremental-declare-error/pack/Aspect.20.java | 6 | ||||
-rw-r--r-- | tests/bugs/incremental-declare-error/pack/Aspect.java | 6 | ||||
-rw-r--r-- | tests/bugs/incremental-declare-error/pack/Main.java | 8 |
3 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs/incremental-declare-error/pack/Aspect.20.java b/tests/bugs/incremental-declare-error/pack/Aspect.20.java new file mode 100644 index 000000000..ec9f72da5 --- /dev/null +++ b/tests/bugs/incremental-declare-error/pack/Aspect.20.java @@ -0,0 +1,6 @@ + +package pack; + +public aspect Aspect { + declare error : execution(private static void Main.main(String[])) : "main"; +}
\ No newline at end of file diff --git a/tests/bugs/incremental-declare-error/pack/Aspect.java b/tests/bugs/incremental-declare-error/pack/Aspect.java new file mode 100644 index 000000000..f3aa00547 --- /dev/null +++ b/tests/bugs/incremental-declare-error/pack/Aspect.java @@ -0,0 +1,6 @@ + +package pack; + +public aspect Aspect { + declare error : execution(public static void Main.main(String[])) : "main"; +}
\ No newline at end of file diff --git a/tests/bugs/incremental-declare-error/pack/Main.java b/tests/bugs/incremental-declare-error/pack/Main.java new file mode 100644 index 000000000..079b05d14 --- /dev/null +++ b/tests/bugs/incremental-declare-error/pack/Main.java @@ -0,0 +1,8 @@ + +package pack; + +/** @testcase PR#84033 incremental declare error persists after fix */ +public class Main { + public static void main(String[] args) { // CE 6 on first pass, not second + } +}
\ No newline at end of file |