aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-03 08:46:39 +0000
committeraclement <aclement>2005-10-03 08:46:39 +0000
commite21bf1e36e46dae8c49d9d83bf810747ff56f0a9 (patch)
tree8580cd72e6a97a7d4a8055ab32028c8426b46ba3 /tests/bugs
parentf74a5c0fc3634f080b6a1714bb4d5b25df2a914b (diff)
downloadaspectj-e21bf1e36e46dae8c49d9d83bf810747ff56f0a9.tar.gz
aspectj-e21bf1e36e46dae8c49d9d83bf810747ff56f0a9.zip
test for pr84033 promoted from failing suite to real suite.
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/incremental-declare-error/changes/Aspect.20.java6
-rw-r--r--tests/bugs/incremental-declare-error/src/pack/Aspect.java6
-rw-r--r--tests/bugs/incremental-declare-error/src/pack/Main.java8
3 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs/incremental-declare-error/changes/Aspect.20.java b/tests/bugs/incremental-declare-error/changes/Aspect.20.java
new file mode 100644
index 000000000..ec9f72da5
--- /dev/null
+++ b/tests/bugs/incremental-declare-error/changes/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/src/pack/Aspect.java b/tests/bugs/incremental-declare-error/src/pack/Aspect.java
new file mode 100644
index 000000000..f3aa00547
--- /dev/null
+++ b/tests/bugs/incremental-declare-error/src/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/src/pack/Main.java b/tests/bugs/incremental-declare-error/src/pack/Main.java
new file mode 100644
index 000000000..079b05d14
--- /dev/null
+++ b/tests/bugs/incremental-declare-error/src/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