aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs173/pr405016/Thingy.java
diff options
context:
space:
mode:
authorAndy Clement <andrew.clement@gmail.com>2013-04-25 13:45:39 -0700
committerAndy Clement <andrew.clement@gmail.com>2013-04-25 13:45:39 -0700
commit6afb281ef0a0f0afcfcf0c77d6b6ebcead15c363 (patch)
tree6cb45d6a764b362497e21ae885e9c3109112b4e0 /tests/bugs173/pr405016/Thingy.java
parent4855f74db6aa5b9ebf4c0e19bb36614929ab3175 (diff)
downloadaspectj-6afb281ef0a0f0afcfcf0c77d6b6ebcead15c363.tar.gz
aspectj-6afb281ef0a0f0afcfcf0c77d6b6ebcead15c363.zip
405016: class literals in annotation matching
Diffstat (limited to 'tests/bugs173/pr405016/Thingy.java')
-rw-r--r--tests/bugs173/pr405016/Thingy.java13
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;
+}