diff options
Diffstat (limited to 'tests/bugs154/pr86818/Three.java')
-rw-r--r-- | tests/bugs154/pr86818/Three.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/bugs154/pr86818/Three.java b/tests/bugs154/pr86818/Three.java new file mode 100644 index 000000000..59eb5592a --- /dev/null +++ b/tests/bugs154/pr86818/Three.java @@ -0,0 +1,15 @@ +// Three.m() is ITD from another aspect. Aspects other way round to case Two + +public class Three { +// public void m() {} --> gone to aspect + public static void main(String []argv) { + if (!(new Three() instanceof java.io.Serializable)) System.err.println("declare parents failed"); + } +} + +aspect Y { + public void Three.m() {} +} +aspect X { + declare parents: hasmethod(public void m()) implements java.io.Serializable; +} |