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