diff options
Diffstat (limited to 'tests/disabled/scalac-dependent/pos/contextbounds-implicits-new.scala')
-rw-r--r-- | tests/disabled/scalac-dependent/pos/contextbounds-implicits-new.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/disabled/scalac-dependent/pos/contextbounds-implicits-new.scala b/tests/disabled/scalac-dependent/pos/contextbounds-implicits-new.scala new file mode 100644 index 000000000..8389d1332 --- /dev/null +++ b/tests/disabled/scalac-dependent/pos/contextbounds-implicits-new.scala @@ -0,0 +1,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 = { } + +} |