summaryrefslogblamecommitdiff
path: root/test/files/pos/tcpoly_infer_easy.scala
blob: 0f1929502c85259e713cfcc9a28e28779bf9aea8 (plain) (tree)
1
2
3
4
5




                                                                 
object Test {
	def test[CC[+X] <: Iterable[X], A](xs: CC[A]): CC[A] = xs
	val xs = test(List(1,2))
	val xs2: List[Int] = test(List(1,2))
}