aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2005-06-16 10:11:54 +0000
committeraclement <aclement>2005-06-16 10:11:54 +0000
commit91829de8a72b1348a17c230bcb3eaf7c077475e8 (patch)
treec0059adb943e139e002a8400e6b16ec5cd592ecc /tests
parent7d5002ad52c86eefdf58535310fb41f042206d11 (diff)
downloadaspectj-91829de8a72b1348a17c230bcb3eaf7c077475e8.tar.gz
aspectj-91829de8a72b1348a17c230bcb3eaf7c077475e8.zip
Test for bug 83311 - dreaded clone() method being ITDd
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs150/pr83311.aj22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/bugs150/pr83311.aj b/tests/bugs150/pr83311.aj
new file mode 100644
index 000000000..83932c771
--- /dev/null
+++ b/tests/bugs150/pr83311.aj
@@ -0,0 +1,22 @@
+aspect A {
+ public abstract Object I.clone();
+ public abstract Object I.ordinary();
+}
+
+interface I { }
+
+interface I2 {
+ public abstract Object clone();
+ public abstract Object ordinary();
+}
+
+
+class Impl implements I {
+ public Object clone() { return this;}
+ public Object ordinary() { return this;}
+}
+
+class Impl2 implements I2 {
+ public Object clone() { return this;}
+ public Object ordinary() { return this;}
+}