diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t2788.check | 1 | ||||
-rw-r--r-- | test/files/run/t2788.scala | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/t2788.check b/test/files/run/t2788.check new file mode 100644 index 0000000000..684f5f616c --- /dev/null +++ b/test/files/run/t2788.check @@ -0,0 +1 @@ +List(1, 2)
\ No newline at end of file diff --git a/test/files/run/t2788.scala b/test/files/run/t2788.scala new file mode 100644 index 0000000000..7cc5031a59 --- /dev/null +++ b/test/files/run/t2788.scala @@ -0,0 +1,3 @@ +object Test extends Application { + println(Array(Some(1), None, Some(2)).flatten.toList) +}
\ No newline at end of file |