summaryrefslogtreecommitdiff
path: root/test/files/pos/t6169/Exist.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t6169/Exist.java')
-rw-r--r--test/files/pos/t6169/Exist.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t6169/Exist.java b/test/files/pos/t6169/Exist.java
new file mode 100644
index 0000000000..dfc6b36b33
--- /dev/null
+++ b/test/files/pos/t6169/Exist.java
@@ -0,0 +1,4 @@
+public class Exist<T extends String> {
+ // java helpfully re-interprets Exist<?> as Exist<? extends String>
+ public Exist<?> foo() { throw new RuntimeException(); }
+} \ No newline at end of file