summaryrefslogtreecommitdiff
path: root/test/files/pos/t1000.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-08-24 16:49:38 +0000
committerPaul Phillips <paulp@improving.org>2011-08-24 16:49:38 +0000
commit48e8133cb08a252ea0ec325d4c6537bccb2e0465 (patch)
tree2819b5a1eb22ba8fa19b15d39bdd94ea4b7cec8b /test/files/pos/t1000.scala
parent0e74720c491ce13e5e904e0bc39e9a60af26f37c (diff)
downloadscala-48e8133cb08a252ea0ec325d4c6537bccb2e0465.tar.gz
scala-48e8133cb08a252ea0ec325d4c6537bccb2e0465.tar.bz2
scala-48e8133cb08a252ea0ec325d4c6537bccb2e0465.zip
Removed and consolidated several redundant test...
Removed and consolidated several redundant tests which had filenames "bugXXX" and "tXXX" where XXX == XXX. No review.
Diffstat (limited to 'test/files/pos/t1000.scala')
-rw-r--r--test/files/pos/t1000.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t1000.scala b/test/files/pos/t1000.scala
index 38f71863d8..613af76b94 100644
--- a/test/files/pos/t1000.scala
+++ b/test/files/pos/t1000.scala
@@ -1,3 +1,8 @@
object A {
println("""This a "raw" string ending with a "double quote"""")
}
+
+object Test extends App {
+ val xs = Array(1, 2, 3)
+ Console.println(xs.filter(_ >= 0).length)
+}