diff options
author | Martin Odersky <odersky@gmail.com> | 2014-10-07 14:23:38 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-10-12 10:50:57 +0200 |
commit | fd81127c6255d01237dd98e8296abf6fdfe80741 (patch) | |
tree | c9c6f2f6f17173fb5539c57022f68274e495a281 /tests/pos/array-clone.scala | |
parent | fa44d5cd694d76e285ebadcdf297f0d13936a6e9 (diff) | |
download | dotty-fd81127c6255d01237dd98e8296abf6fdfe80741.tar.gz dotty-fd81127c6255d01237dd98e8296abf6fdfe80741.tar.bz2 dotty-fd81127c6255d01237dd98e8296abf6fdfe80741.zip |
New tests
Diffstat (limited to 'tests/pos/array-clone.scala')
-rw-r--r-- | tests/pos/array-clone.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pos/array-clone.scala b/tests/pos/array-clone.scala new file mode 100644 index 000000000..ef5ac5c85 --- /dev/null +++ b/tests/pos/array-clone.scala @@ -0,0 +1,7 @@ +object test { + + val xs = Array(1, 2, 3) + + val ys: Array[Int] = xs.clone() + +} |