diff options
-rw-r--r-- | test/pending/run/t0446.check | 2 | ||||
-rw-r--r-- | test/pending/run/t0446.scala | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/pending/run/t0446.check b/test/pending/run/t0446.check new file mode 100644 index 0000000000..7c41a48cdb --- /dev/null +++ b/test/pending/run/t0446.check @@ -0,0 +1,2 @@ +List(1) +List(3) diff --git a/test/pending/run/t0446.scala b/test/pending/run/t0446.scala new file mode 100644 index 0000000000..e7688964a7 --- /dev/null +++ b/test/pending/run/t0446.scala @@ -0,0 +1,6 @@ +object Test extends Application { + val a = Array(1,3).takeWhile(_ < 2) + val b = Array(1,3).dropWhile(_ < 2) + println(a.toString) + println(b.toString) +}
\ No newline at end of file |