diff options
Diffstat (limited to 'test/files/pos/t6169/ExistIndir.java')
-rw-r--r-- | test/files/pos/t6169/ExistIndir.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t6169/ExistIndir.java b/test/files/pos/t6169/ExistIndir.java new file mode 100644 index 0000000000..e66d1698c4 --- /dev/null +++ b/test/files/pos/t6169/ExistIndir.java @@ -0,0 +1,4 @@ +public class ExistIndir<T extends String, U extends T> { + // java helpfully re-interprets ExistIndir<?> as ExistIndir<? extends String> + public ExistIndir<?, ?> foo() { throw new RuntimeException(); } +} |