aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/t5440.scala
blob: 909bab1e30eda953b8203b9494eb47d2a51f7781 (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
    }
}