diff options
Diffstat (limited to 'test/files/neg/t5440.scala')
-rw-r--r-- | test/files/neg/t5440.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t5440.scala b/test/files/neg/t5440.scala new file mode 100644 index 0000000000..d9cf5d6252 --- /dev/null +++ b/test/files/neg/t5440.scala @@ -0,0 +1,7 @@ +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 |