summaryrefslogblamecommitdiff
path: root/test/files/run/bug1093.scala
blob: 4cc6181e810b6eae962181486699d9d9d2269d57 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                 
// contribution bug #460

object Test extends Application {
  val x = Some(3) match {
    case Some(1 | 2) => 1
    case Some(3) => 2
  }
  println(x)
}