summaryrefslogtreecommitdiff
path: root/test/files/neg/t9527b.scala
blob: b40a4dca9ef76f83b511d2bdf1af2fdec9315d4f (plain) (blame)
1
2
3
4
5
6
7
8
9
class C {
  @annotation.implicitAmbiguous("msg A=${A}")
  implicit def f[A](x: Int): String = "f was here"
  implicit def g(x: Int): String = "f was here"
  def test: Unit = {
    implicitly[Int => String]
  }
}