From: aclement Date: Thu, 16 Jun 2005 10:11:54 +0000 (+0000) Subject: Test for bug 83311 - dreaded clone() method being ITDd X-Git-Tag: PRE_ANDY~151 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=91829de8a72b1348a17c230bcb3eaf7c077475e8;p=aspectj.git Test for bug 83311 - dreaded clone() method being ITDd --- 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;} +}