aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-01-13 11:27:59 +0000
committeracolyer <acolyer>2004-01-13 11:27:59 +0000
commit19ed0a21b822004f6f2c688518c4230965a3b512 (patch)
tree5680a8ccc55b3d2bbe634b38717d08dc6328f214 /tests/bugs
parent346fd1c4acfa5360e1a71aa171da283251ef99bf (diff)
downloadaspectj-19ed0a21b822004f6f2c688518c4230965a3b512.tar.gz
aspectj-19ed0a21b822004f6f2c688518c4230965a3b512.zip
move to Eclipse 3.0 M6 JDT core (v_396). Also makes 1.4 the
default mode (inherited behaviour from JDT).
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/ParserRecoveryTest.java8
-rw-r--r--tests/bugs/ParserRecoveryTestPureJava.java9
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs/ParserRecoveryTest.java b/tests/bugs/ParserRecoveryTest.java
new file mode 100644
index 000000000..0969b3ea1
--- /dev/null
+++ b/tests/bugs/ParserRecoveryTest.java
@@ -0,0 +1,8 @@
+// pr 45663
+aspect ParserRecoveryTest1
+{
+ pointcut s(int x):
+ execution(* fred(x));
+
+ after(int xxx x x x x): this(*) {}
+} \ No newline at end of file
diff --git a/tests/bugs/ParserRecoveryTestPureJava.java b/tests/bugs/ParserRecoveryTestPureJava.java
new file mode 100644
index 000000000..811d1fb55
--- /dev/null
+++ b/tests/bugs/ParserRecoveryTestPureJava.java
@@ -0,0 +1,9 @@
+// pr 45663
+abstract class ParserRecoveryTestPureJava
+{
+ abstract int s(int x);
+
+ void after(int xxx x x x x) {}
+
+ void m() { return 2;}
+} \ No newline at end of file