aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/contextbounds-implicits-new.scala
blob: 8389d1332a1570d42cfc893ec26f6e22cdb77aad (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                      
import scala.reflect.runtime.universe._

/* 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): Unit = { }

}