summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
Diffstat (limited to 'test/files')
-rw-r--r--test/files/pos/bug1000.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/bug1000.scala b/test/files/pos/bug1000.scala
new file mode 100644
index 0000000000..c6426401ae
--- /dev/null
+++ b/test/files/pos/bug1000.scala
@@ -0,0 +1,4 @@
+object Test extends Application {
+ val xs = Array(1, 2, 3)
+ Console.println(xs.filter(_ >= 0).length)
+}