diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/bug3530.check | 1 | ||||
-rw-r--r-- | test/files/run/bug3530.scala | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/bug3530.check b/test/files/run/bug3530.check new file mode 100644 index 0000000000..633c15d9d7 --- /dev/null +++ b/test/files/run/bug3530.check @@ -0,0 +1 @@ +Some List diff --git a/test/files/run/bug3530.scala b/test/files/run/bug3530.scala new file mode 100644 index 0000000000..f2c0034691 --- /dev/null +++ b/test/files/run/bug3530.scala @@ -0,0 +1,9 @@ +object Test { + def main(args: Array[String]) { + val list = List(1,2,3) + list match { + case List(_, _) => println("List with two elements") + case List(_*) => println("Some List") + } + } +}
\ No newline at end of file |