summaryrefslogtreecommitdiff
path: root/test/files/pos/t946.scala
blob: c4bd6e9ba41516445fd662482bf929862f27cf8d (plain) (blame)
1
2
3
4
5
6
7
8
object pmbugbounds {
  trait Bar
  class Foo[t <: Bar] {}

  (new Foo[Bar]) match {
    case _ : Foo[x] => null
  }
}