diff options
Diffstat (limited to 'tests/patmat/t5440.scala')
-rw-r--r-- | tests/patmat/t5440.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/patmat/t5440.scala b/tests/patmat/t5440.scala new file mode 100644 index 000000000..6721b0562 --- /dev/null +++ b/tests/patmat/t5440.scala @@ -0,0 +1,6 @@ +object Test { + def merge(list1: List[Long], list2: List[Long]): Boolean = (list1, list2) match { + case (hd1::_, hd2::_) => true + case (Nil, Nil) => true + } +}
\ No newline at end of file |