diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/bug1360.check | 2 | ||||
-rw-r--r-- | test/files/run/bug1360.scala | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/bug1360.check b/test/files/run/bug1360.check new file mode 100644 index 0000000000..8417e208ae --- /dev/null +++ b/test/files/run/bug1360.check @@ -0,0 +1,2 @@ +[one, two] +[1, 2, 3] diff --git a/test/files/run/bug1360.scala b/test/files/run/bug1360.scala new file mode 100644 index 0000000000..62e7bd664c --- /dev/null +++ b/test/files/run/bug1360.scala @@ -0,0 +1,7 @@ +object Test { + def main(args: Array[String]) { + val seq: Seq[String] = List("one", "two") + println(java.util.Arrays.asList(seq: _*)) + println(java.util.Arrays.asList(Seq(1,2,3): _*)) + } +}
\ No newline at end of file |