summaryrefslogtreecommitdiff
path: root/test/pending
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending')
-rw-r--r--test/pending/pos/t0654.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/pending/pos/t0654.scala b/test/pending/pos/t0654.scala
new file mode 100644
index 0000000000..07b4e72794
--- /dev/null
+++ b/test/pending/pos/t0654.scala
@@ -0,0 +1,5 @@
+object Test {
+ class Foo[T]
+ type C[T] = Foo[_ <: T]
+ val a: C[AnyRef] = new Foo[AnyRef]
+}