summaryrefslogtreecommitdiff
path: root/test/files/pos/contextbounds-implicits-new.scala
blob: 71b3cca36fab96e88a3323b41ad44b3c0e4e48cf (plain) (blame)
1
2
3
4
5
6
7
8
/* Tests implicit parameters in the presence of context bounds.
 * See Section 7.4 of the Scala Language Specification.
 */
class C {

  def f[T: TypeTag, S: TypeTag](x: T, y: S)(implicit p: C) { }

}