diff options
author | Paul Phillips <paulp@improving.org> | 2010-01-18 04:14:25 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-01-18 04:14:25 +0000 |
commit | d73a32db9cb0357cb365b78bdbd0fa8d6af9873c (patch) | |
tree | c2fb02af2ce89f94d75c285a5b30a86b260be600 /test | |
parent | 518ac3d5fd113e24df9cba5383a0bc9641b41f1d (diff) | |
download | scala-d73a32db9cb0357cb365b78bdbd0fa8d6af9873c.tar.gz scala-d73a32db9cb0357cb365b78bdbd0fa8d6af9873c.tar.bz2 scala-d73a32db9cb0357cb365b78bdbd0fa8d6af9873c.zip |
Fix and test case for #408. Review by community.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/bug408.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/bug408.scala b/test/files/run/bug408.scala new file mode 100644 index 0000000000..9e51e881ed --- /dev/null +++ b/test/files/run/bug408.scala @@ -0,0 +1,12 @@ +object Test +{ + val a = scala.collection.immutable.Set.empty ++ (0 to 100000) + val b = scala.collection.immutable.Set.empty ++ (0 to 100000) + + def main(args: Array[String]): Unit = { + a -- b + a -- b + a -- b + a -- b + } +} |