summaryrefslogblamecommitdiff
path: root/test/files/neg/t5440.scala
blob: d9cf5d6252cb8e6409be0d29ed7f4cb076a1aee3 (plain) (tree)
1
2
3
4
5
6
7






                                                            
object Test {
  def merge(list1: List[Long], list2: List[Long]): Boolean =
    (list1, list2) match {
      case (hd1::_, hd2::_) => true
      case (Nil, Nil) => true
    }
}