summaryrefslogtreecommitdiff
path: root/test/files/pos/tcpoly_subst.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/tcpoly_subst.scala')
-rw-r--r--test/files/pos/tcpoly_subst.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/tcpoly_subst.scala b/test/files/pos/tcpoly_subst.scala
new file mode 100644
index 0000000000..af474585e9
--- /dev/null
+++ b/test/files/pos/tcpoly_subst.scala
@@ -0,0 +1,4 @@
+object test {
+ def make[m[x], b]: m[b] = error("foo")
+ val lst: List[Int] = make[List, Int]
+} \ No newline at end of file