diff options
Diffstat (limited to 'test/files/pos/t5967.scala')
-rw-r--r-- | test/files/pos/t5967.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t5967.scala b/test/files/pos/t5967.scala new file mode 100644 index 0000000000..eb9bd6dfa7 --- /dev/null +++ b/test/files/pos/t5967.scala @@ -0,0 +1,6 @@ +object Test { + def f(a: Int*) = a match { + case 0 :: Nil => "List(0)! My favorite Seq!" + case _ => a.toString + } +} |