aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs170
diff options
context:
space:
mode:
authoraclement <aclement>2011-12-10 01:08:19 +0000
committeraclement <aclement>2011-12-10 01:08:19 +0000
commit40fcaa1e19cdc9c402d54a9070755880363efe46 (patch)
tree86a63e64da201da8d66f147dd8f760329414159c /tests/bugs170
parentfc8d86cf86112a99455878a40ac0a3aa6ae80f33 (diff)
downloadaspectj-40fcaa1e19cdc9c402d54a9070755880363efe46.tar.gz
aspectj-40fcaa1e19cdc9c402d54a9070755880363efe46.zip
1.7 sanity test
Diffstat (limited to 'tests/bugs170')
-rw-r--r--tests/bugs170/sanity/DeclareAtType.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs170/sanity/DeclareAtType.java b/tests/bugs170/sanity/DeclareAtType.java
new file mode 100644
index 000000000..44f60b633
--- /dev/null
+++ b/tests/bugs170/sanity/DeclareAtType.java
@@ -0,0 +1,14 @@
+package foo;
+
+@interface MyAnnotation {
+}
+
+public aspect DeclareAtType {
+
+ declare @type : C : @MyAnnotation;
+
+}
+
+class C {
+
+}