summaryrefslogtreecommitdiff
path: root/test/files/pos/java-type-annotations/Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/java-type-annotations/Test.java')
-rw-r--r--test/files/pos/java-type-annotations/Test.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/java-type-annotations/Test.java b/test/files/pos/java-type-annotations/Test.java
new file mode 100644
index 0000000000..d6bda1dedb
--- /dev/null
+++ b/test/files/pos/java-type-annotations/Test.java
@@ -0,0 +1,4 @@
+public class Test {
+ static class C<@NotNull T> {};
+ @NotNull String foo() { return ""; }
+}