summaryrefslogtreecommitdiff
path: root/test/files/pos/t2613.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t2613.scala')
-rw-r--r--test/files/pos/t2613.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t2613.scala b/test/files/pos/t2613.scala
new file mode 100644
index 0000000000..3a64dbc282
--- /dev/null
+++ b/test/files/pos/t2613.scala
@@ -0,0 +1,11 @@
+import language.existentials
+
+object Test {
+ class Row
+
+ abstract class MyRelation [R <: Row, +Relation <: MyRelation[R, Relation]]
+
+ type M = MyRelation[R, Relation] forSome {type R <: Row; type Relation <: MyRelation[R, Relation]}
+
+ var (x,y): (String, M) = null
+}