diff options
Diffstat (limited to 'tests/bugs173/pr405016/Thingy.java')
-rw-r--r-- | tests/bugs173/pr405016/Thingy.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs173/pr405016/Thingy.java b/tests/bugs173/pr405016/Thingy.java new file mode 100644 index 000000000..6d6ca0bc3 --- /dev/null +++ b/tests/bugs173/pr405016/Thingy.java @@ -0,0 +1,13 @@ +import java.io.Serializable; + +@Gimme({Cloneable.class,java.io.Serializable.class}) +public class Thingy { + public static void main(String[] argv) { + System.out.println("I am serializable? "+(new Thingy() instanceof Serializable)); + } +} + +aspect X { + //declare parents: Thingy implements Serializable; + declare parents: (@Gimme(value = {Cloneable.class, Serializable.class}) *) implements Serializable; +} |