diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/bug1000.scala | 4 |
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) +} |