diff options
Diffstat (limited to 'tests/untried/pos/tcpoly_subst.scala')
-rw-r--r-- | tests/untried/pos/tcpoly_subst.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/pos/tcpoly_subst.scala b/tests/untried/pos/tcpoly_subst.scala new file mode 100644 index 000000000..88cc4d061 --- /dev/null +++ b/tests/untried/pos/tcpoly_subst.scala @@ -0,0 +1,4 @@ +object test { + def make[m[x], b]: m[b] = sys.error("foo") + val lst: List[Int] = make[List, Int] +} |