aboutsummaryrefslogblamecommitdiff
path: root/tests/patmat/t3098/b.scala
blob: 84a1f9f6f471f20dd3526a0f78dfa35e0cca73e5 (plain) (tree)
1
2
3
4
5
6
7
8







                             
// Test.scala
object Test {
  def f = (null: T) match {
    case _: A => println("A")
    case _: B => println("B")
    // no C
  }
}