aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169/pr312839/one/X.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs169/pr312839/one/X.aj')
-rw-r--r--tests/bugs169/pr312839/one/X.aj15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/bugs169/pr312839/one/X.aj b/tests/bugs169/pr312839/one/X.aj
new file mode 100644
index 000000000..1643d9d02
--- /dev/null
+++ b/tests/bugs169/pr312839/one/X.aj
@@ -0,0 +1,15 @@
+package com.wibble.foo;
+
+import java.lang.annotation.*;
+
+aspect X {
+ public int Class.i;
+ public String Class.getMeSomething() {
+ return "abc";
+ }
+ declare parents: Class implements java.io.Serializable;
+ declare @type: Class: @Foobar;
+}
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface Foobar {}