diff options
author | acolyer <acolyer> | 2005-08-21 19:51:47 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-21 19:51:47 +0000 |
commit | 3cedc6ef49a4a98ed33701d3545074ac97f2af04 (patch) | |
tree | 5b29eb6eff21396bb2309ecca99b6fb58c575f8a /tests/bugs150/pr83377.aj | |
parent | 197ea8d62a60b4b2e3e22a94ea01c1ec009d485d (diff) | |
download | aspectj-3cedc6ef49a4a98ed33701d3545074ac97f2af04.tar.gz aspectj-3cedc6ef49a4a98ed33701d3545074ac97f2af04.zip |
tests for pr83377
Diffstat (limited to 'tests/bugs150/pr83377.aj')
-rw-r--r-- | tests/bugs150/pr83377.aj | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs150/pr83377.aj b/tests/bugs150/pr83377.aj new file mode 100644 index 000000000..821778c63 --- /dev/null +++ b/tests/bugs150/pr83377.aj @@ -0,0 +1,18 @@ + +interface I extends Cloneable { + public Object clone (); +} + +class C implements I { +// public Object clone() {return this;} + +} + +privileged aspect A { + declare parents : C implements java.lang.Cloneable; + + public Object C.clone () { + return null; + } +} + |