aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
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