diff options
author | Paul Phillips <paulp@improving.org> | 2013-02-01 17:41:05 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-02-01 17:41:05 -0800 |
commit | d5c3a9acf1ba194abc89e210cb5611db905e37c3 (patch) | |
tree | fd5835652a3f8e43ec4c59aaa68e2a0d82751f10 /test/files/run | |
parent | c5503f5e750086a72396c8dc860c2dadad5efc7f (diff) | |
parent | cabf626bbc49a897e581fbf6ceaa79ffb191bfec (diff) | |
download | scala-d5c3a9acf1ba194abc89e210cb5611db905e37c3.tar.gz scala-d5c3a9acf1ba194abc89e210cb5611db905e37c3.tar.bz2 scala-d5c3a9acf1ba194abc89e210cb5611db905e37c3.zip |
Merge commit 'cabf626bbc' into wip/fresh-merge2
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/t2818.check | 4 | ||||
-rw-r--r-- | test/files/run/t2818.scala | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/t2818.check b/test/files/run/t2818.check new file mode 100644 index 0000000000..31286c990b --- /dev/null +++ b/test/files/run/t2818.check @@ -0,0 +1,4 @@ +105 +499999500000 +0 +1 diff --git a/test/files/run/t2818.scala b/test/files/run/t2818.scala new file mode 100644 index 0000000000..19b67cbc88 --- /dev/null +++ b/test/files/run/t2818.scala @@ -0,0 +1,6 @@ +object Test extends App { + println((List.range(1L, 15L) :\ 0L) (_ + _)) + println((List.range(1L, 1000000L) :\ 0L) (_ + _)) + println((List.fill(5)(1) :\ 1) (_ - _)) + println((List.fill(1000000)(1) :\ 1) (_ - _)) +} |