diff options
author | Aleksandar Prokopec <axel22@gmail.com> | 2012-06-06 17:57:21 +0200 |
---|---|---|
committer | Aleksandar Prokopec <axel22@gmail.com> | 2012-06-06 17:57:21 +0200 |
commit | ef45ee4c2121e725962ae4ae07d7b0e83e1b3c5d (patch) | |
tree | 3f1f8f5e6e4d2738380a6403a0617db421a8e0e0 /test/files | |
parent | db1b777372a6883f9c474159804b8f7798c0ec49 (diff) | |
download | scala-ef45ee4c2121e725962ae4ae07d7b0e83e1b3c5d.tar.gz scala-ef45ee4c2121e725962ae4ae07d7b0e83e1b3c5d.tar.bz2 scala-ef45ee4c2121e725962ae4ae07d7b0e83e1b3c5d.zip |
Fix SI-5867.
Override clone for unrolled buffer.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t5867.check | 1 | ||||
-rw-r--r-- | test/files/run/t5867.scala | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/files/run/t5867.check b/test/files/run/t5867.check new file mode 100644 index 0000000000..e1811eeefa --- /dev/null +++ b/test/files/run/t5867.check @@ -0,0 +1 @@ +UnrolledBuffer(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50)
\ No newline at end of file diff --git a/test/files/run/t5867.scala b/test/files/run/t5867.scala new file mode 100644 index 0000000000..6a86ac3e6d --- /dev/null +++ b/test/files/run/t5867.scala @@ -0,0 +1,14 @@ +import collection.mutable.UnrolledBuffer + + + +object Test { + + def main(args: Array[String]) { + val buf = UnrolledBuffer(1 to 50: _*) + val dub = buf ++ buf + + println(dub) + } + +} |