summaryrefslogtreecommitdiff
path: root/test/files/run/empty-array.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/empty-array.scala')
-rw-r--r--test/files/run/empty-array.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/empty-array.scala b/test/files/run/empty-array.scala
new file mode 100644
index 0000000000..e56c86df5c
--- /dev/null
+++ b/test/files/run/empty-array.scala
@@ -0,0 +1,8 @@
+object Test {
+ def main(args: Array[String]): Unit = {
+ println(Byte.emptyArray.length)
+ println(Double.emptyArray.length)
+ println(Boolean.emptyArray.length)
+ // okay okay okay
+ }
+}