aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/annotations/declare/atmethodctor/Fruit.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/annotations/declare/atmethodctor/Fruit.java')
-rw-r--r--tests/java5/annotations/declare/atmethodctor/Fruit.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/java5/annotations/declare/atmethodctor/Fruit.java b/tests/java5/annotations/declare/atmethodctor/Fruit.java
new file mode 100644
index 000000000..78d60bbe7
--- /dev/null
+++ b/tests/java5/annotations/declare/atmethodctor/Fruit.java
@@ -0,0 +1,2 @@
+import java.lang.annotation.*;
+@Retention(RetentionPolicy.RUNTIME) public @interface Fruit {String value();}