aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs150')
-rw-r--r--tests/bugs150/pr64568.aj6
-rw-r--r--tests/bugs150/pr74562.aj13
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs150/pr64568.aj b/tests/bugs150/pr64568.aj
new file mode 100644
index 000000000..a41a55de8
--- /dev/null
+++ b/tests/bugs150/pr64568.aj
@@ -0,0 +1,6 @@
+public aspect pr64568 {
+
+ // itd that's trying to use a type pattern!
+ private int foo.bar.*.aField; // CE L4
+
+}
diff --git a/tests/bugs150/pr74562.aj b/tests/bugs150/pr74562.aj
new file mode 100644
index 000000000..60350a52f
--- /dev/null
+++ b/tests/bugs150/pr74562.aj
@@ -0,0 +1,13 @@
+public class pr74562 {
+
+ private pr74562 before;
+ private pr74562 after;
+
+ public void test() {
+ before.after = before;
+ after.before = before;
+ before = new pr74562();
+ after = new pr74562();
+ }
+
+} \ No newline at end of file