summaryrefslogtreecommitdiff
path: root/test/files/neg/t8736-c.scala
blob: 8432775ae1a4204c77fdcdc8147c71dcae2ab074 (plain) (blame)
1
2
3
4
5
6
7
// scalac: -feature -language:-higherKinds,_ -Xfatal-warnings
// showing that wildcard doesn't supersede explicit disablement
class X {
  def hk[M[_]] = ???

  implicit def imp(x: X): Int = x.hashCode
}