diff options
Diffstat (limited to 'tests/pos/collections.scala')
-rw-r--r-- | tests/pos/collections.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/collections.scala b/tests/pos/collections.scala index 28fe011e5..cd84f03d8 100644 --- a/tests/pos/collections.scala +++ b/tests/pos/collections.scala @@ -2,6 +2,9 @@ import scala.collection.generic.CanBuildFrom object collections { + val arr = Array("a", "b") + val aa = arr ++ arr + List(1, 2, 3) map (x => 2) val s = Set(1, 2, 3) |