summaryrefslogtreecommitdiff
path: root/test/files/run/matchemptyarray.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/matchemptyarray.scala')
-rw-r--r--test/files/run/matchemptyarray.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/matchemptyarray.scala b/test/files/run/matchemptyarray.scala
new file mode 100644
index 0000000000..63abf74b65
--- /dev/null
+++ b/test/files/run/matchemptyarray.scala
@@ -0,0 +1,5 @@
+object Test extends Application{
+ Array[String]() match {
+ case x@Array() => println(x.toString());
+ }
+}