summaryrefslogtreecommitdiff
path: root/test/files/neg/t7756a.scala
blob: 4453e8496311572a922d3dfdab14e8d14dc3bc0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
object Test {
  def test: Unit = {
    trait TA[X <: CharSequence]
    0 match {
      case _ =>
        // the bounds violation isn't reported. RefChecks seems to be too broadly disabled under virtpatmat: see 65340ed4ad2e
        locally(null: TA[Object])
        ()
    }
  }
}