summaryrefslogtreecommitdiff
path: root/test/files/run/empty-array.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-09-14 10:54:23 -0700
committerPaul Phillips <paulp@improving.org>2012-09-14 10:59:41 -0700
commit9d84e89d27c396203e84f6ae685863210ebc1968 (patch)
tree09793479707c30d70ca3f6353157bcca003bc0f4 /test/files/run/empty-array.check
parentf68201c469725c255ae2786f0ac1e37bc5f30a7a (diff)
downloadscala-9d84e89d27c396203e84f6ae685863210ebc1968.tar.gz
scala-9d84e89d27c396203e84f6ae685863210ebc1968.tar.bz2
scala-9d84e89d27c396203e84f6ae685863210ebc1968.zip
Added constant empty array to the companion objects.
Because there are lots of times when you just need an array and shouldn't have to allocate one every time or pick a random spot to cache yet another empty array.
Diffstat (limited to 'test/files/run/empty-array.check')
-rw-r--r--test/files/run/empty-array.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/empty-array.check b/test/files/run/empty-array.check
new file mode 100644
index 0000000000..bb0b1cf658
--- /dev/null
+++ b/test/files/run/empty-array.check
@@ -0,0 +1,3 @@
+0
+0
+0