aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153')
-rw-r--r--tests/bugs153/Annotation/A.java7
-rw-r--r--tests/bugs153/Annotation/Anno.aj5
-rw-r--r--tests/bugs153/Annotation/C.java3
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/bugs153/Annotation/A.java b/tests/bugs153/Annotation/A.java
new file mode 100644
index 000000000..b74335b9d
--- /dev/null
+++ b/tests/bugs153/Annotation/A.java
@@ -0,0 +1,7 @@
+package annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
+
+@Target(ElementType.TYPE)
+public @interface A { }
diff --git a/tests/bugs153/Annotation/Anno.aj b/tests/bugs153/Annotation/Anno.aj
new file mode 100644
index 000000000..acfdae4b9
--- /dev/null
+++ b/tests/bugs153/Annotation/Anno.aj
@@ -0,0 +1,5 @@
+import annotation.A;
+
+public aspect Anno {
+ declare @type: C : @A;
+}
diff --git a/tests/bugs153/Annotation/C.java b/tests/bugs153/Annotation/C.java
new file mode 100644
index 000000000..7fe8ac4ab
--- /dev/null
+++ b/tests/bugs153/Annotation/C.java
@@ -0,0 +1,3 @@
+// import
+public class C {
+}