diff options
author | James Iry <jamesiry@gmail.com> | 2013-02-19 08:14:16 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-02-19 08:14:16 -0800 |
commit | 123161b9073eec6dae23b617d85409276849c143 (patch) | |
tree | 0efaf0266bf97e4fd5d4893045381a95887edf53 /test/files/run/t6827.scala | |
parent | cc89bd71edfd4c88ca1099891e6c20b77379122a (diff) | |
parent | 348ff4b6176a379dba943a6b6e0dbc71410f454f (diff) | |
download | scala-123161b9073eec6dae23b617d85409276849c143.tar.gz scala-123161b9073eec6dae23b617d85409276849c143.tar.bz2 scala-123161b9073eec6dae23b617d85409276849c143.zip |
Merge pull request #2128 from retronym/ticket/7128
SI-7128 Fix regression in copyToArray for empty arrays
Diffstat (limited to 'test/files/run/t6827.scala')
-rw-r--r-- | test/files/run/t6827.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/t6827.scala b/test/files/run/t6827.scala index 7e8918e3dc..8e17af09e2 100644 --- a/test/files/run/t6827.scala +++ b/test/files/run/t6827.scala @@ -28,4 +28,7 @@ object Test extends App { tryit("read -1", 0, -1) tryit("invalid read 0", 30, 0) tryit("invalid read -1", 30, -1) + + // okay, see SI-7128 + "...".toIterator.copyToArray(new Array[Char](0), 0, 0) } |