summaryrefslogtreecommitdiff
path: root/test/files/pos/t2994b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t2994b.scala')
-rw-r--r--test/files/pos/t2994b.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t2994b.scala b/test/files/pos/t2994b.scala
new file mode 100644
index 0000000000..c9d9cc812b
--- /dev/null
+++ b/test/files/pos/t2994b.scala
@@ -0,0 +1,7 @@
+object Test {
+ trait Bar[X[_]]
+ trait Baz[S[_] <: Bar[S]] {
+ type Apply[T]
+ }
+ trait Foo[V[_] <: Bar[V]] extends Bar[Baz[V]#Apply]
+} \ No newline at end of file